Jump to content

CoderAtParadise

Forge Modder
  • Posts

    107
  • Joined

  • Last visited

Everything posted by CoderAtParadise

  1. To get it to render transparent you need to include in the blocks class @SideOnly(Side.CLIENT) public EnumWorldBlockLayer getBlockLayer() { return EnumWorldBlockLayer.CUTOUT; }
  2. With Minecraft 1.8 you need to register the textures Eternaldoom has written about this at http://www.minecraftforge.net/forum/index.php/topic,24263.0.html This question has been answered on the forums before.
  3. Hi, So I've been playing around with the new render system for items and have come across the problem of a texture not loading unless you have a dummy item. The code for the section is public static final ItemFT kitty = new ItemKitty(); public static final ItemHidden debug = new ItemDebug(); public static void init() { GameRegistry.registerItem(debug,"debug"); GameRegistry.registerItem(kitty,"kitty"); Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(kitty,0,new ModelResourceLocation(Reference.MOD_ID+":kitty","inventory")); } and when you comment out the registration of the debug item, item kitty no longer loads it's texture. Just wondering if I am doing something wrong or it is actually a bug.
×
×
  • Create New...

Important Information

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