Everything posted by Mightydanp
-
wierd error with textures
yea i am. i have it set in pre-init. there is no errors when i load minecraft
-
wierd error with textures
- wierd error with textures
i deleted the blockstate files for the single items but non of the models load right it shows a block instead of a item.- wierd error with textures
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" } } }- wierd error with textures
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- wierd error with textures
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- wierd error with textures
so then what part in the code is making it say compressed=... i dont know much about the new changes in 1,9- wierd error with textures
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" } }- wierd error with textures
{ "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" } }- wierd error with textures
http://pastebin.com/xy6KSZQ1- wierd error with textures
sorry wrong paste. http://pastebin.com/mTBMmfeX- wierd error with textures
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- wierd error with textures
it wont load my textures and the error log is http://pastebin.com/jx37rpN0 code where i register my model http://pastebin.com/P1QZbW89- 1.9.4 registry error
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.- 1.9.4 registry error
i have my code like this. http://pastebin.com/ZjykxUaN- 1.9.4 registry error
i also used your code to see if it would make any diffrence but nothing changed after it was still the same.- 1.9.4 registry error
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- 1.9.4 registry error
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"; }- 1.9.4 registry error
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- 1.9.4 registry error
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?- 1.9.4 registry error
i took it out with //GameRegistry.register(itemBlock.setRegistryName(name)); and i still got the same error- 1.9.4 registry error
i am still having trouble with the registerBlockState- 1.9.4 registry error
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.- 1.9.4 registry error
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 }); }- 1.9.4 registry error
i register them in my mod blocks http://pastebin.com/8a08EK5Q - wierd error with textures
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.