
Mightydanp
Members-
Posts
225 -
Joined
-
Last visited
Everything posted by Mightydanp
-
yea i am. i have it set in pre-init. there is no errors when i load minecraft
-
i deleted the blockstate files for the single items but non of the models load right it shows a block instead of a item.
-
i did something like this? public static void renderItem(Item item, String name) { ModelLoader.setCustomModelResourceLocation(item, 0, new ModelResourceLocation(References.MODID + ":" + name, "inventory")); } and i have no idea what i should do for the block states { "variants": { "enderman_flesh": { "model":"eot:enderman_flesh" } } }
-
do i even need a block state file for that item? i really do not know how to set the variant for a single item
-
i fixed most of the textures . but i am having trouble with a single item. MODID = eot. blockstate enderman_flesh.json item/models enderman_flesh.json textures/items enderman_flesh.png
-
so then what part in the code is making it say compressed=... i dont know much about the new changes in 1,9
-
so are you saying instead of compressed=copper i should change it to something like eot=compressed_copper ? not in the blockstates its self but change it in the code? { "variants": { "compressed=copper": { "model":"eot:compressed_copper" }, "compressed=tin": { "model":"eot:compressed_tin" }, "compressed=silver": { "model":"eot:compressed_silver" }, "compressed=lead": { "model":"eot:compressed_lead" }, "compressed=bronze": { "model":"eot:compressed_bronze" }, "compressed=ruby": { "model":"eot:compressed_ruby" }, "compressed=sapphire": { "model":"eot:compressed_sapphire" } }
-
{ "variants": { "compressed=copper": { "model":"eot:compressed_copper" }, "compressed=tin": { "model":"eot:compressed_tin" }, "compressed=silver": { "model":"eot:compressed_silver" }, "compressed=lead": { "model":"eot:compressed_lead" }, "compressed=bronze": { "model":"eot:compressed_bronze" }, "compressed=ruby": { "model":"eot:compressed_ruby" }, "compressed=sapphire": { "model":"eot:compressed_sapphire" } }
-
http://pastebin.com/xy6KSZQ1
-
sorry wrong paste. http://pastebin.com/mTBMmfeX
-
i get this error still for my models i get this. on two of my block they have ore:ore compressed:compressed some of my item textures just dont want to show if its a single item. http://pastebin.com/YLDDCgx4
-
it wont load my textures and the error log is http://pastebin.com/jx37rpN0 code where i register my model http://pastebin.com/P1QZbW89
-
thanks but i already found out the problem it had nothing to do with that it had to do with how i was trying to register my ItemBlock.
-
i have my code like this. http://pastebin.com/ZjykxUaN
-
i also used your code to see if it would make any diffrence but nothing changed after it was still the same.
-
not working meaning when i used it in my item classes it went from item.ingot.name to item.ingot_copper.name, item.ingot_tin..etc when i tried it in my itemBlock class it just stays as tile.ore.name and doesn't change
-
i just came up with this. it worked for my items but it didnt work for my itemblocks @SideOnly(Side.CLIENT) public String getUnlocalizedName(ItemStack itemStack){ for(int i = 0; i < ModBlocks.oreBlockStates.length; i++){ if(itemStack.getItemDamage() == i){ return "tile" + "." + BlockStrings.ORE_NAME +"_" + ModBlocks.oreBlockStates; } } return "Something went wrong in the getUnlocalization of ItemBasicOre"; }
-
your solution isnt the right answer to the problem. the problem i am having is i have 5 block states with the same tile.ore.name
-
i fixed it but i am still having a bit of trouble when i look at the name of the blocks all they say is tile.ore.name on all of them. What am i missing?
-
i took it out with //GameRegistry.register(itemBlock.setRegistryName(name)); and i still got the same error
-
i am still having trouble with the registerBlockState
-
i see. what i dont understand is what is making it get invalidly named. i even chamged essenceOre to something else and it sead that still is invalidly named even after.
-
having a hard time understatind a little but does it have something to do with this public static final PropertyEnum TYPE = PropertyEnum.create("essenceOre", BlockEssenceOre.EnumType.class); @Override protected BlockStateContainer createBlockState() { return new BlockStateContainer(this, new IProperty[] { TYPE }); }
-
i register them in my mod blocks http://pastebin.com/8a08EK5Q