Sulfur Cubes summon Falling Block when eaten by Frog
作者:rebot | 分类:模组
Minecraft 版本: 26.2-snapshot-1 26.2-snapshot-2 26.2-snapshot-3 26.2-snapshot-4 26.2-snapshot-5 26.2-snapshot-6 26.2-snapshot-7 26.2-snapshot-8 26.2-pre-1 26.2-pre-2 26.2-pre-3 26.2-pre-4 26.2-pre-5 26.2-pre-6 26.2-rc-1 26.2-rc-2 26.2
平台: datapack
标签: game-mechanics mobs
This datapack is not well-optimised, and it primarily serves as a proof of concept.
Features:
- Frogs target small sulfur cubes
- Frogs eat sulfur cubes
- When a large sulfur cube is eaten, a frog will spit out a small sulfur cube
- When a sulfur cube with a block inside is eaten, there will be summoned a falling block. It retains the velocity of the sulfur cube.
You can also easily change the delay parameters (example with default values in ticks):
/function frogsulfur:params {eat_cooldown: 40, spit_delay: 20}
If you want to prevent frogs from spitting out a small sulfur cubes, set spit_delay higher than eat_cooldown.
Related Reddit posts:
- Original idea on r/minecraftsuggestions (idea may vary from what is done)
- About datapack on r/MinecraftCommands
(+ video with sound)
请登录后举报
暂无评论,抢个沙发吧~