Jump to content

OrangeVillager61

Members
  • Posts

    339
  • Joined

  • Last visited

Everything posted by OrangeVillager61

  1. alright, my first issue is my block register renders class: ModelResourceLocation emptyModel1 = new ModelResourceLocation("md:advanced_brine_filter" + "_empty", "inventory"); ModelResourceLocation full1Model1 = new ModelResourceLocation("md:advanced_brine_filter" + "_full", "inventory"); ModelResourceLocation emptyModel2 = new ModelResourceLocation("md:stone_brine_filter" + "_empty", "inventory"); ModelResourceLocation full1Model2 = new ModelResourceLocation("md:stone_brine_filter" + "_1full", "inventory"); ModelResourceLocation full2Model2 = new ModelResourceLocation("md:stone_brine_filter" + "_full", "inventory"); ModelResourceLocation emptyModel3 = new ModelResourceLocation("md:wooden_brine_filter" + "_empty", "inventory"); ModelResourceLocation full1Model3 = new ModelResourceLocation("md:wooden_brine_filter" + "_1full", "inventory"); ModelResourceLocation full2Model3 = new ModelResourceLocation("md:wooden_brine_filter" + "_2full", "inventory"); ModelResourceLocation full3Model3 = new ModelResourceLocation("md:wooden_brine_filter" + "_full", "inventory"); ModelBakery.registerItemVariants(Item.getItemFromBlock(MoDropsBlocks.advanced_brine_filter), emptyModel1, full1Model1); ModelBakery.registerItemVariants(Item.getItemFromBlock(MoDropsBlocks.stone_brine_filter), emptyModel2, full1Model2, full2Model2); ModelBakery.registerItemVariants(Item.getItemFromBlock(MoDropsBlocks.wooden_brine_filter), emptyModel3, full1Model3, full2Model3, full3Model3);
  2. I'm updating from 1.8.9.
  3. I'm porting my mod to 1.9.4, what are the main changes that I have to deal with? Also, what happened to blockstate?
  4. Anything is possible (I saw a guy make a LAPTOP in Minecraft) but you will need some knowledge of Forge and Minecraft before you can do stuff like that.
  5. Anything is possible (I saw a guy make a LAPTOP in Minecraft) but you will need some knowledge of Forge and Minecraft before you can do stuff like that.
  6. No, in Minecraft (and many other games) there is client side and server side. The client side does rendering and is different per player. The server side does updating tasks etc.
  7. No, in Minecraft (and many other games) there is client side and server side. The client side does rendering and is different per player. The server side does updating tasks etc.
  8. Did you post the registration of the renders? Also have you done mods in 1.9.x (or at least 1.8.x)?
  9. Did you post the registration of the renders? Also have you done mods in 1.9.x (or at least 1.8.x)?
  10. *facepalm* Thank you! Last question why was ModelBakery.addVariantName deprecated in the first place?
  11. The texture only works when placed, it doesn't work in the inventory. ModelResourceLocation emptyModel1 = new ModelResourceLocation("advanced_brine_filter" + "_empty", "inventory"); ModelResourceLocation full1Model1 = new ModelResourceLocation("advanced_brine_filter" + "_full", "inventory"); ModelBakery.registerItemVariants(Item.getItemFromBlock(MoDropsBlocks.advanced_brine_filter), emptyModel1, full1Model1); I get the following errors. Caused by: java.lang.RuntimeException: Encountered an exception when loading model definition of model minecraft:blockstates/advanced_brine_filter_empty.json at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(ModelBakery.java:165) ~[ModelBakery.class:?] at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:211) ~[ModelLoader.class:?] ... 22 more Caused by: java.io.FileNotFoundException: minecraft:blockstates/advanced_brine_filter_empty.json at net.minecraft.client.resources.FallbackResourceManager.getAllResources(FallbackResourceManager.java:93) ~[FallbackResourceManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.getAllResources(SimpleReloadableResourceManager.java:78) ~[simpleReloadableResourceManager.class:?] at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(ModelBakery.java:143) ~[ModelBakery.class:?] at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:211) ~[ModelLoader.class:?] ... 22 more [16:37:39] [Client thread/ERROR] [FML]: Model definition for location minecraft:advanced_brine_filter_full#inventory not found [16:37:39] [Client thread/ERROR] [FML]: Model definition for location minecraft:advanced_brine_filter_empty#inventory not found
  12. I admit using item.getUnlocalizedName.substring(5). That is because I don't know anything better and/or any reason to change if I don't change the unlocalized name. The video isn't very efficient, but there aren't that many tutorials past 1.8. Also, the most important thing is "does it work." If the answer is yes, then is fine. Also Anora said Crayfish and Neale are the only good ones. Kevin M is a good tutorial make too. Summary: The tutorial isn't the best in the world, but lately the amount of 1.8.9 or 1.9.x tutorials are close to none. His tutorials work and that is what matters. Also, what is a good alternative to item.getUnlocalizedName.substring(5)? You keep saying don't use it, but I see no working code examples and no reasons to this.
  13. In 1.8.9 ModelBakery.addVariantName is deprecated. What are the alternatives to this and why did it became deprecated? Thanks. OrangeVillager61
  14. Uh... change the mod build number?
  15. The blockstate.json is to lead to the different model variants of the block. The model.json is how it looks different from the other variants.
  16. Yeah... I'll update soon. I'll live with it for now. I want to finish my 1.8.9 version before updating... Thanks diesieben07! Final question: why is forge for 1.9 better than 1.8.9 forge?
  17. Thank you! It works, it doesn't have the brown texture... but everything works!
  18. Well look at the log and leaves files first. That is for the leaves despawning when not attached to logs, etc. Next look into the world gen files. If you can't figure it out, (this is VERY complex) look at 1.8.9 mod's github and comment on tutorial websites. You could also make it a tile entity instead and has more abilities but is more complicated and if overdone, cause lag. Good luck!
  19. Version, version.
  20. Likely though overwriting.
  21. Do you mean how to internally use a different version number in code? Or a different compiled name?
  22. My next issue is that the spawn egg is labeled entity.EntityVillager.name. What is the problem now? net.minecraft.nbt.NBTTagCompound nbt = new net.minecraft.nbt.NBTTagCompound(); nbt.setString("entity_name", "EntityVillager"); ItemStack VillagerEgg = new ItemStack(Items.spawn_egg); VillagerEgg.setTagCompound(nbt); GameRegistry.addRecipe((VillagerEgg), new Object[]
  23. Yes, I'm aware of this so I'm not using number IDs and why do I need to update to 1.9?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.