Minecraft PC IP: play.cubecraft.net

Egg🥚

Gameplay Engineer
Jul 12, 2020
1,019
1,465
224
20
The Netherlands
Last edited:

Lyriie

Sr. Moderator ♡
Team CubeCraft
🛠️ Sr. Moderator
Mar 31, 2018
1,058
5,026
409
Pronouns
She/They
Great job, it looks amazing and very fun!
 
D

Deleted member 491790

Guest
Thanks!

It took my around 8 hours

Well, by using functions :)

Thanks man
How specifically? I can't think of a way really to make each block trail behind it, and to detect where the end of the tail is to attach another block to it
 
  • Like
Reactions: Egg🥚

Egg🥚

Gameplay Engineer
Jul 12, 2020
1,019
1,465
224
20
The Netherlands
How specifically? I can't think of a way really to make each block trail behind it, and to detect where the end of the tail is to attach another block to it
There is a entity called "area_effect_cloud" (AEC) which is used for splash potions. It is very handy for this kinda stuff since it has an "Age" tag. It despawns when it is 1 tick old (a 20th of a second). So you can easily control the life duration. If you summon that entity with an age of for example -20, it lives 21 ticks (or 1.05) seconds before it despawns.
So if you summon an AEC with a certain age on a block, and let all the AEC aged 0 remove their blocks, you can make a trail.
It is a bit more complex than that, since you also have to think of making the trail bigger when it eats an apple, but I think that's the best way to explain :).
 
D

Deleted member 491790

Guest
There is a entity called "area_effect_cloud" (AEC) which is used for splash potions. It is very handy for this kinda stuff since it has an "Age" tag. It despawns when it is 1 tick old (a 20th of a second). So you can easily control the life duration. If you summon that entity with an age of for example -20, it lives 21 ticks (or 1.05) seconds before it despawns.
So if you summon an AEC with a certain age on a block, and let all the AEC aged 0 remove their blocks, you can make a trail.
It is a bit more complex than that, since you also have to think of making the trail bigger when it eats an apple, but I think that's the best way to explain :).
Ahhh that's smart! I wouldn't have thought of it myself, I don't even think I'm as advanced as that with command blocks. Thanks for the insight! :heart:
 
  • Love
Reactions: Egg🥚
Members Online

Team online

Latest profile posts

NEWS: A brand new cosmetic bundle with maps has been added to Notion board.
I predict that it will be releasing within 2-3 weeks from now. Will let you know which games the new maps will be for once they update it.
1788455020954.png
xsmistryx wrote on Mohammed Edries's profile.
Ty for the likes:)
New location has been discovered on the CubeCraft lobby that is scheduled to be open in 2027: CubeVille!
Discovered by @SfenKer on Java, and here is the exact location on Bedrock!
To get to it, turn right when you spawn, it's past the fountain area
1788431850646.png
TabKeyCat wrote on hamwody's profile.
h.gif
Top Bottom