Jump to content

YellowMilk2

Members
  • Posts

    9
  • Joined

  • Last visited

Everything posted by YellowMilk2

  1. That seems to be the problem indeed which is kinda weird since I copy the recipe file from a practice mod and that worked fine.
  2. I am trying to create recipes for my items however minecraft doesn't seem to detect my recipe. I read that I no longer to register recipes and they can be done by JSONs however that isn't working atm. Json: https://www.pastiebin.com/59a023764a96e
  3. I managed to do it with a BlockContainer class messing around and trying to find new ways. Just in case someone stumble on this post Override getRenderType and return EnumBlockRenderType.MODEL
  4. Thank you that's the class I been following and around at other sources to gather more information
  5. Might I ask how does the BlockFurance class manage to have a model? Just for education purposes
  6. not moving but probably have particles to show it's active
  7. Okay then that should make my task alot more simple Tesr was under the docs for rendering so I implied it would be the right decision
  8. I have a block called "fermenter" which extends the BlockContainer class however the game doesn't seem to render the model when I place the block. However when I change BlockContainer to Block, the block renders perfectly normal. I'm using BlockContainer because I want my "fermenter" to act in a similar way as the furance or brewing stand in game. I read about TESR but the documentation make it quite unclear on how to execute. Block Class: Tile Entity Class: TESR Class: Register Class:
  9. I followed the ItemPotion class in Minecraft to see how to allow the player to drink a potion and wanted to implement it into my mod. However, when I call the onItemRightClick and getItemUseAction method like the class shows, my character just stand around doing nothing when I click and hold the right mouse button to drink. Can someone give me guidance to what I am missing? My item class public class ItemVodka extends Item { public ItemVodka(String name) { this.setUnlocalizedName(name); this.setRegistryName(name); this.setCreativeTab(CreativeTabs.FOOD); } @Override public ActionResult<ItemStack> onItemRightClick(World worldIn, EntityPlayer playerIn, EnumHand handIn){ playerIn.setActiveHand(handIn); return new ActionResult<ItemStack>(EnumActionResult.PASS, playerIn.getHeldItem(handIn)); } @Override public EnumAction getItemUseAction(ItemStack stack) { return EnumAction.DRINK; } }
×
×
  • Create New...

Important Information

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