Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Mightydanp

Members
  • Joined

  • Last visited

Everything posted by Mightydanp

  1. yea i am. i have it set in pre-init. there is no errors when i load minecraft
  2. i deleted the blockstate files for the single items but non of the models load right it shows a block instead of a item.
  3. 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" } } }
  4. 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
  5. 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
  6. so then what part in the code is making it say compressed=... i dont know much about the new changes in 1,9
  7. 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" } }
  8. { "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" } }
  9. http://pastebin.com/xy6KSZQ1
  10. sorry wrong paste. http://pastebin.com/mTBMmfeX
  11. 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
  12. it wont load my textures and the error log is http://pastebin.com/jx37rpN0 code where i register my model http://pastebin.com/P1QZbW89
  13. 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.
  14. i have my code like this. http://pastebin.com/ZjykxUaN
  15. i also used your code to see if it would make any diffrence but nothing changed after it was still the same.
  16. 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
  17. 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"; }
  18. 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
  19. 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?
  20. i took it out with //GameRegistry.register(itemBlock.setRegistryName(name)); and i still got the same error
  21. i am still having trouble with the registerBlockState
  22. 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.
  23. 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 }); }
  24. i register them in my mod blocks http://pastebin.com/8a08EK5Q

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.