Everything posted by YellowMilk2
-
[1.12] Recipe json not working
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.
-
[1.12] Recipe json not working
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
-
[1.12] BlockContainer wont show block when placed
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
-
[1.12] BlockContainer wont show block when placed
Thank you that's the class I been following and around at other sources to gather more information
-
[1.12] BlockContainer wont show block when placed
Might I ask how does the BlockFurance class manage to have a model? Just for education purposes
-
[1.12] BlockContainer wont show block when placed
not moving but probably have particles to show it's active
-
[1.12] BlockContainer wont show block when placed
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
-
[1.12] BlockContainer wont show block when placed
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:
-
[1.12] Player not drinking the item [Solved]
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; } }
IPS spam blocked by CleanTalk.