2024-12-10 17:50:04|Myriagame |source:minecraft skins
This tutorial is set by the author to use the CC By-NC-SA protocol.
The CONFIG provided by the loop can only set the blacklist of the biological capture ball (what kind of creature cannot catch), but we can use Kubejs to catch them only to capture residual blood creatures.
The following is code
Onevent ('Entity.spawnet', event => {If (event.entity.Item) && (event.entity.INTEM.ID == 'cyclic: mob_container') {
Var Entity = Event.World.Createntity (event.entity.Item.nbt.id);
Entity.MergeFullnbt (event.entity.item.nbt);
If (entity.health/entity.maxhealth> 0.1) {{
Event.cancel ();
Entity.setPosition (event.entity.x, event.entity.y, event.entity.z);
// Can't summon immediately, otherwise the old ones have not disappeared uUID repeated
Event.server.scheDule (20, event.server, function (callback) {
Entity.spawn ()
});
Event.server.runcommand (`Say, you can only capture creatures with a life value of less than 10%);
}
}
The idea is relatively simple.The [Biological container ball] was detected to check whether the blood volume of the captured creatures was greater than 10%of its maximum blood volume.EssenceIt is worth noting that the generation of [Bio -container ball] is earlier than the disappearance of the arrested creatures, so the new creature must be delayed a little, otherwise it will not be generated because UUID repeats.If you use this code directly, you will disappear once you caught the non -residual blood creature [Biological Capture]. If you want to return [Biological Capture Ball], you can generate a [creature capture ball] falling object while generating new creatures.
National Service DNF Dark Ni
2025-01-28 09:19:27The new screenshot of the be
2025-01-28 09:18:57The 15th anniversary wallpap
2025-01-28 09:18:273DM Xuanyuan Sinicization Gr
2025-01-28 09:17:57French magazine is the first
2025-01-28 09:17:27The sneak game "Republic" wi
2025-01-28 09:16:57The story between humans and
2025-01-28 09:16:27Capture "Trinity 3: Artifact
2025-01-28 09:15:27Wind direction change "Myste
2025-01-28 09:14:57DICE's new project "Dream" w
2025-01-28 09:14:27Pirate Minecraft Skins
Minecraft Skins
2024-12-10 04:11:27Pirate Minecraft Skins
Minecraft Skins
2024-12-10 04:11:26Master Minecraft Skins
Minecraft Skins
2024-12-10 04:11:25King Minecraft Skins
Minecraft Skins
2024-12-10 04:11:25Guide Minecraft Skins
Minecraft Skins
2024-12-10 04:11:24Dark Knight Minecraft Skins
Minecraft Skins
2024-12-10 04:11:23Sparta Minecraft Skins
Minecraft Skins
2024-12-10 04:11:23Moncraft Skins of the War
Minecraft Skins
2024-12-10 04:11:22Red Witch Minecraft Skins
Minecraft Skins
2024-12-10 04:11:22Golden Cavaliers Minecraft S
Minecraft Skins
2024-12-10 04:11:22