Posted August 28, 201510 yr I just want to add simple rotation to the custom block model. After digging into minecraft files, i found out that actual animated "blocks"(Ender Crystal, Chest) don't have .json models neither blockstates. I tried messing around with codes and nothing ; - ; does anyone know how to animate .json files? ~Thanks "The cycle of life and death continues. We will live, they will die."
August 28, 201510 yr Author Bump? ;-; "The cycle of life and death continues. We will live, they will die."
August 28, 201510 yr Hi, there is a much better way to do this, but this is merely a suggestion - try looking into ISmartBlockModel and return various .JSON models for the block. Hope that gives you an idea. Someone might have a better suggestion, though. Development of Plugins [2012 - 2014] Development of Mods [2012 - Current]
August 29, 201510 yr Hi Block animation is best done in one of two ways - For block texture animation (like lava) - use an animated texture. For others like chest - use a TileEntitySpecialRenderer. Some info here http://greyminecraftcoder.blogspot.com.au/2015/01/tileentity.html A working example here (MBE21) https://github.com/TheGreyGhost/MinecraftByExample You can't use JSON models to animate a block unless you rewrite the block every tick. -TGG
August 29, 201510 yr Author So if i use TESR I won't need Blockstate and .json model, right? And what if I just create new .json files with y axis rotations, and make block class change model every tick, let's say 5 rotation changes per 90deg. animation won't be smooth... any ways to fix that? "The cycle of life and death continues. We will live, they will die."
August 29, 201510 yr Author I really don't understand TESR ; - ; any other ways ? "The cycle of life and death continues. We will live, they will die."
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.