
OrangeVillager61
Members-
Posts
339 -
Joined
-
Last visited
Everything posted by OrangeVillager61
-
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);
-
I'm updating from 1.8.9.
-
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?
-
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.
-
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.
-
[1.9] BlockVariants texture not rendered
OrangeVillager61 replied to pickaxe_engineer's topic in Modder Support
Did you post the registration of the renders? Also have you done mods in 1.9.x (or at least 1.8.x)? -
[1.9] BlockVariants texture not rendered
OrangeVillager61 replied to pickaxe_engineer's topic in Modder Support
Did you post the registration of the renders? Also have you done mods in 1.9.x (or at least 1.8.x)? -
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
-
[1.8] Custom mob drop with specific tools
OrangeVillager61 replied to MichaelVitrio's topic in Modder Support
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. -
Uh... change the mod build number?
-
[1.8][Solved]Loading Variants of the same block
OrangeVillager61 replied to WitherDoggie's topic in Modder Support
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. -
[Solved][1.8.9] How to craft villager spawn egg?
OrangeVillager61 replied to OrangeVillager61's topic in Modder Support
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? -
[Solved][1.8.9] How to craft villager spawn egg?
OrangeVillager61 replied to OrangeVillager61's topic in Modder Support
Thank you! It works, it doesn't have the brown texture... but everything works! -
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!
-
Version, version.
-
[1.8.9] Changing Vanilla Armor Values
OrangeVillager61 replied to Monstrous_Apple's topic in Modder Support
Likely though overwriting. -
Do you mean how to internally use a different version number in code? Or a different compiled name?
-
[Solved][1.8.9] How to craft villager spawn egg?
OrangeVillager61 replied to OrangeVillager61's topic in Modder Support
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[] -
[Solved][1.8.9] How to craft villager spawn egg?
OrangeVillager61 replied to OrangeVillager61's topic in Modder Support
Yes, I'm aware of this so I'm not using number IDs and why do I need to update to 1.9?