#add animation to blocks

1 messages · Page 1 of 1 (latest)

still crescent
#

I have a block and an animation for this block how to add the animation to this block 🙂

tranquil flume
#

When you say animated block, do you mean block with custom geometry (like the enchantment table, which has an animated book) or flipbook texture (like the command blocks)?

still crescent
#

@tranquil flume i mean like a generator that's has an engine and that's engine make a rotation move

#

But its a block like a machine

still crescent
#

@tranquil flume yes that's

tranquil flume
#

You can do your block normally and the animated part is an entity. The block summons the entity when placed and the entity despawns if it is outside the block.

#

This entity has no collision and is immune to damage except /kill.

drowsy cave
still crescent
drowsy cave
#

He mentioned block and entity combo. When the block is placed, so is the entity and vise versa

#

The spinning part is probably the entity

tranquil flume
#

Yes, it is a block and an entity! Minecraft itself does this with the enchantment table.

#

In the inventory the "entity" appears because it is a geometry used just for this purpose, when the block is positioned the geometry changes and the globe is replaced by an animated entity.

still crescent
#

@tranquil flume damn

#

@patent oak i found a way

tranquil flume
#

This is what happens when you use /kill, but you can add an event to the entity so that when it dies, another appears in its place.

still crescent
#

@tranquil flume thx

patent oak