Minecraft Maps / Redstone Device

[1.8] Animated Multiblock Door (Motion tweening in Minecraft)

  • 1,096 views, 3 today
  • 35 downloads, 0 today
  • 2
  • 2
gamesaucer's Avatar gamesaucer
Level 30 : Artisan Engineer
5
As part of the Map Maker's Toolbox project I've found a way to have motion tweening within Minecraft.  
It supports multiple kinds of the same mob (each one dropping a different kind of loot), chances, different stack sizes of the same item, etc.  

To use it,  open the schematic in MCEdit and place it anywhere in your world. Then use command blocks to create the animation specifically for your door:
Spoiler - click to reveal
/summon FallingSand X Y Z {Block:BLOCK,Data:DMG,Motion:[0.0,0.0,0.0],Time:0}

To animate a block:
- set X Y Z to the coordinates of where the block is (Example: 10 64 50)
- set BLOCK to what block it is (Example: minecraft:stone)
- set DMG to whatever damage value is appropriate. (Example: 1) You may want to change this over the duration of different frames if you're using rotatable blocks (such as stairs)
- set the values in Motion for where you want the block to go during the frame. 0.3 is one block, 0.5 is two and 0.7 is three. The second value should stay at 0.0

So, if you're creating maps and would like to have smooth animations in them, you can download the basic setup here.  
(In the video I refer to my Github repository which is an alternative place to download the schematics from.)  

A few important things:  
  • Does NOT need to be inside the spawn chunks to work.  
  • Can be placed multiple times in one world and work as intended. 
  • Gamerules needed to make this work as intended are: commandBlockOutput set to false.
  • You need to keep at least 1.5 blocks of distance above the animation for it to animate correctly.

Feel free to use this anywhere; there is no need to credit me unless you're doing something that focuses around the contraption itself such as creating a video about it.
Progress100% complete
Tags

Create an account or sign in to comment.

Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome