I'm making a mod, and I need to see if it is possible to find what player is crafting the item in an IRecipe because I need to "bind" an item with a player name. If this is not possible, please let me know and I will find another way to do it.
I have created an ItemMeshDefinition, but it doesn't seem to allow me to render an OBJ with it. (The updated code should now be committed to GitHub)
JSON file (crystalline:item/crystal_knowledge.json)
Results:
Also, I get a weird error in my log:
Hello. I'm working on a mod called Crystalline (source code here), and I can't quite figure out how to use an OBJ model to render an item depending on its NBT. If anyone can help me as soon as possible, please do. I'm anticipating a release date of the mod fairly soon.
I would like to implement this rendering into the ItemCrystal class. I have already added OBJLoader.INSTANCE.addDomain(MODID); to my ClientProxy locally, but it may not be in the Git version.
ItemCrystal.java
I have tried that, but it hasn't worked. I need to render an OBJ model, not just a normal model. ShetiPhian said they used a class extended from OBJBakedModel, but I wasn't able to find out how to do that (http://www.minecraftforge.net/forum/topic/34724-18sloved-obj-model-not-load/#comment-185892).
Hello. I'm making a mod that needs to have a separate OBJ model for a certain type of the item. That type is stored in an NBT tag called "type". I've looked online a lot, but I couldn't seem to find anything like this. If anyone has a solution, please tell it to me.
Thanks!
Note: I know how to render a block with an OBJ model, but not an item with an OBJ model, or an item with a dynamic OBJ model.
4 replies
Important Information
By using this site, you agree to our Terms of Use.