Update ModelLoaderMixin.java
This commit is contained in:
parent
24f63e4d5b
commit
1847b25aa9
1 changed files with 8 additions and 0 deletions
|
@ -18,6 +18,7 @@ import net.minecraft.block.Block;
|
|||
import net.minecraft.client.render.model.ModelLoader;
|
||||
import net.minecraft.client.render.model.json.JsonUnbakedModel;
|
||||
import net.minecraft.client.render.model.json.ModelVariantMap.DeserializationContext;
|
||||
import net.minecraft.client.util.ModelIdentifier;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.resource.Resource;
|
||||
import net.minecraft.resource.ResourceManager;
|
||||
|
@ -104,4 +105,11 @@ public class ModelLoaderMixin {
|
|||
context.setContextId(null);
|
||||
}
|
||||
}
|
||||
|
||||
@Inject(method = "loadModel", at = @At("HEAD"))
|
||||
private void loadModel(Identifier id, CallbackInfo info) throws Exception {
|
||||
// if (!(id instanceof ModelIdentifier)) {
|
||||
// System.out.println(id);
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue