From f399074a54ee32352a8bb417996164fcea215e15 Mon Sep 17 00:00:00 2001 From: Tschipcraft <78470530+Tschipcraft@users.noreply.github.com> Date: Tue, 9 Jul 2024 23:40:23 +0200 Subject: [PATCH] Support for Snapshot 24w21a - Updated to work with Snapshot 24w21a (#12) - Copied the contents of the legacy folders to their new names --- .../loot_table/blocks/player_head.json | 50 +++++++++ data/minecraft/tags/function/load.json | 5 + data/minecraft/tags/function/tick.json | 5 + .../function/drowned/captain_1.mcfunction | 16 +++ .../function/drowned/captain_2.mcfunction | 15 +++ .../function/drowned/dark.mcfunction | 14 +++ .../function/drowned/dark_drowned.mcfunction | 14 +++ .../function/drowned/decayed.mcfunction | 14 +++ .../function/drowned/deepd.mcfunction | 14 +++ .../function/drowned/drowned_1.mcfunction | 14 +++ .../function/drowned/drowned_2.mcfunction | 14 +++ .../function/drowned/pale.mcfunction | 14 +++ .../function/drowned/pillager.mcfunction | 15 +++ .../function/drowned/pirate.mcfunction | 15 +++ .../function/drowned/villager.mcfunction | 14 +++ .../function/drowned/villager_2.mcfunction | 14 +++ .../function/drowned/warped.mcfunction | 15 +++ .../more_mobs/function/evoker/dead.mcfunction | 14 +++ .../function/evoker/geomancer.mcfunction | 14 +++ .../function/evoker/illusioner.mcfunction | 6 ++ .../function/evoker/illusionist.mcfunction | 14 +++ .../general/effect_loop/exec.mcfunction | 37 +++++++ .../general/effect_loop/exec_116.mcfunction | 10 ++ .../general/effect_loop/exec_119.mcfunction | 10 ++ .../general/effect_loop_trigger.mcfunction | 9 ++ .../general/generate_random_number.mcfunction | 9 ++ .../general/install_trigger.mcfunction | 4 + .../general/main_extension_116.mcfunction | 4 + .../function/general/parse.mcfunction | 15 +++ .../general/parse_heads/parse.mcfunction | 101 ++++++++++++++++++ .../general/parse_heads/parse_116.mcfunction | 21 ++++ .../general/parse_heads/parse_119.mcfunction | 10 ++ .../function/general/reset_entity.mcfunction | 71 ++++++++++++ .../general/set_on_fire_1194/check.mcfunction | 5 + .../general/set_on_fire_1194/exec.mcfunction | 5 + .../more_mobs/function/husk/anubis.mcfunction | 16 +++ .../function/husk/dark_husk.mcfunction | 14 +++ data/more_mobs/function/husk/mummy.mcfunction | 14 +++ .../function/husk/pharaoh.mcfunction | 15 +++ .../function/husk/pharaoh2.mcfunction | 15 +++ .../function/husk/villager_1.mcfunction | 14 +++ .../function/husk/villager_2.mcfunction | 14 +++ data/more_mobs/function/install.mcfunction | 37 +++++++ data/more_mobs/function/main.mcfunction | 25 +++++ data/more_mobs/function/menu_reset.mcfunction | 3 + .../function/messages/welcome.mcfunction | 4 + .../function/piglin/librarian.mcfunction | 15 +++ .../more_mobs/function/piglin/rich.mcfunction | 15 +++ .../function/pillager/bad_omen.mcfunction | 14 +++ .../function/pillager/injured.mcfunction | 14 +++ data/more_mobs/function/reset.mcfunction | 16 +++ .../more_mobs/function/reset_heads.mcfunction | 9 ++ data/more_mobs/function/settings.mcfunction | 3 + .../additional_loot/disable.mcfunction | 5 + .../additional_loot/disable_val.mcfunction | 4 + .../additional_loot/enable.mcfunction | 5 + .../additional_loot/enable_val.mcfunction | 4 + .../function/settings/core.mcfunction | 38 +++++++ .../settings/custom_heads/disable.mcfunction | 4 + .../custom_heads/drops_disable.mcfunction | 4 + .../custom_heads/drops_enable.mcfunction | 4 + .../settings/custom_heads/enable.mcfunction | 4 + .../function/settings/defaults.mcfunction | 12 +++ .../settings/disable_burning.mcfunction | 4 + .../settings/disable_spiders.mcfunction | 8 ++ .../settings/enable_burning.mcfunction | 4 + .../settings/enable_spiders.mcfunction | 4 + .../settings/hide_feedback/hide.mcfunction | 4 + .../settings/hide_feedback/main.mcfunction | 5 + .../settings/hide_feedback/unhide.mcfunction | 3 + .../function/skeleton/alternate.mcfunction | 14 +++ .../function/skeleton/captain.mcfunction | 17 +++ .../function/skeleton/captain_loot.mcfunction | 4 + .../function/skeleton/creeper.mcfunction | 15 +++ .../function/skeleton/deepd.mcfunction | 14 +++ .../function/skeleton/deepd_corpse.mcfunction | 14 +++ .../skeleton/deepd_monster.mcfunction | 14 +++ .../function/skeleton/drowned.mcfunction | 15 +++ .../skeleton/egyptian_helper.mcfunction | 16 +++ .../skeleton/golden_pharaoh.mcfunction | 15 +++ .../function/skeleton/magic.mcfunction | 15 +++ .../function/skeleton/miner.mcfunction | 15 +++ .../function/skeleton/mossy.mcfunction | 14 +++ .../function/skeleton/necromancer.mcfunction | 16 +++ .../function/skeleton/overgrown.mcfunction | 14 +++ .../skeleton/pharaoh_servant.mcfunction | 15 +++ .../function/skeleton/piglin.mcfunction | 15 +++ .../function/skeleton/pirate.mcfunction | 17 +++ .../function/skeleton/pirate_loot.mcfunction | 4 + .../function/skeleton/radioactive.mcfunction | 15 +++ .../function/skeleton/rotting.mcfunction | 15 +++ .../function/skeleton/sea.mcfunction | 14 +++ .../function/skeleton/snowy.mcfunction | 14 +++ .../function/skeleton/sunken/loot.mcfunction | 3 + .../skeleton/sunken/sunken_1.mcfunction | 16 +++ .../skeleton/sunken/sunken_2.mcfunction | 16 +++ .../skeleton/sunken/sunken_3.mcfunction | 16 +++ .../skeleton/sunken/sunken_4.mcfunction | 16 +++ .../function/skeleton/warped.mcfunction | 15 +++ .../function/skeleton/zombie.mcfunction | 15 +++ .../function/spider/inair.mcfunction | 6 ++ .../more_mobs/function/spider/main.mcfunction | 11 ++ .../function/spider/onceiling.mcfunction | 5 + .../function/stray/creepy.mcfunction | 14 +++ .../more_mobs/function/stray/deepd.mcfunction | 14 +++ .../more_mobs/function/stray/queen.mcfunction | 15 +++ data/more_mobs/function/uninstall.mcfunction | 35 ++++++ .../function/uninstall_old.mcfunction | 20 ++++ .../function/version_checker.mcfunction | 15 +++ .../version_checker/try_again.mcfunction | 3 + .../function/vindicator/dead.mcfunction | 14 +++ .../function/vindicator/injured.mcfunction | 14 +++ .../function/wither_skeleton/acid.mcfunction | 14 +++ .../wither_skeleton/burned.mcfunction | 14 +++ .../wither_skeleton/burning.mcfunction | 16 +++ .../wither_skeleton/crimson.mcfunction | 14 +++ .../function/wither_skeleton/deepd.mcfunction | 14 +++ .../function/wither_skeleton/demon.mcfunction | 14 +++ .../wither_skeleton/goggles.mcfunction | 16 +++ .../function/wither_skeleton/king.mcfunction | 17 +++ .../wither_skeleton/magma_1.mcfunction | 16 +++ .../wither_skeleton/magma_2.mcfunction | 16 +++ .../wither_skeleton/ornate.mcfunction | 16 +++ .../wither_skeleton/soul_sand.mcfunction | 14 +++ .../function/wither_skeleton/steve.mcfunction | 14 +++ .../function/zombie/bloody.mcfunction | 14 +++ .../function/zombie/boulder.mcfunction | 15 +++ .../function/zombie/deepd.mcfunction | 14 +++ .../function/zombie/enderman.mcfunction | 15 +++ .../function/zombie/frozen.mcfunction | 14 +++ .../function/zombie/infested.mcfunction | 14 +++ .../function/zombie/jungle.mcfunction | 14 +++ .../more_mobs/function/zombie/lake.mcfunction | 14 +++ .../function/zombie/lobber.mcfunction | 14 +++ .../function/zombie/miner_1.mcfunction | 16 +++ .../function/zombie/miner_2.mcfunction | 16 +++ .../function/zombie/rotting.mcfunction | 14 +++ .../function/zombie/snowy.mcfunction | 14 +++ .../function/zombie/swamp.mcfunction | 14 +++ .../function/zombie/villager.mcfunction | 14 +++ data/more_mobs/predicate/full_moon.json | 9 ++ data/more_mobs/predicate/is_night.json | 8 ++ data/more_mobs/predicate/is_raining.json | 4 + data/more_mobs/predicate/is_thundering.json | 4 + data/more_mobs/tags/block/air.json | 10 ++ data/more_mobs/tags/block/dead_corals.json | 20 ++++ data/more_mobs/tags/block/jungle_blocks.json | 8 ++ data/more_mobs/tags/block/nonsolid.json | 76 +++++++++++++ .../tags/entity_type/burns_in_daylight.json | 9 ++ data/more_mobs/tags/entity_type/parsable.json | 15 +++ data/more_mobs/tags/entity_type/spider.json | 7 ++ data/more_mobs/tags/function/settings.json | 6 ++ data/tschipcraft/function/menu.mcfunction | 4 + data/tschipcraft/tags/function/menu.json | 6 ++ pack.mcmeta | 2 +- 155 files changed, 2176 insertions(+), 1 deletion(-) create mode 100644 data/minecraft/loot_table/blocks/player_head.json create mode 100644 data/minecraft/tags/function/load.json create mode 100644 data/minecraft/tags/function/tick.json create mode 100644 data/more_mobs/function/drowned/captain_1.mcfunction create mode 100644 data/more_mobs/function/drowned/captain_2.mcfunction create mode 100644 data/more_mobs/function/drowned/dark.mcfunction create mode 100644 data/more_mobs/function/drowned/dark_drowned.mcfunction create mode 100644 data/more_mobs/function/drowned/decayed.mcfunction create mode 100644 data/more_mobs/function/drowned/deepd.mcfunction create mode 100644 data/more_mobs/function/drowned/drowned_1.mcfunction create mode 100644 data/more_mobs/function/drowned/drowned_2.mcfunction create mode 100644 data/more_mobs/function/drowned/pale.mcfunction create mode 100644 data/more_mobs/function/drowned/pillager.mcfunction create mode 100644 data/more_mobs/function/drowned/pirate.mcfunction create mode 100644 data/more_mobs/function/drowned/villager.mcfunction create mode 100644 data/more_mobs/function/drowned/villager_2.mcfunction create mode 100644 data/more_mobs/function/drowned/warped.mcfunction create mode 100644 data/more_mobs/function/evoker/dead.mcfunction create mode 100644 data/more_mobs/function/evoker/geomancer.mcfunction create mode 100644 data/more_mobs/function/evoker/illusioner.mcfunction create mode 100644 data/more_mobs/function/evoker/illusionist.mcfunction create mode 100644 data/more_mobs/function/general/effect_loop/exec.mcfunction create mode 100644 data/more_mobs/function/general/effect_loop/exec_116.mcfunction create mode 100644 data/more_mobs/function/general/effect_loop/exec_119.mcfunction create mode 100644 data/more_mobs/function/general/effect_loop_trigger.mcfunction create mode 100644 data/more_mobs/function/general/generate_random_number.mcfunction create mode 100644 data/more_mobs/function/general/install_trigger.mcfunction create mode 100644 data/more_mobs/function/general/main_extension_116.mcfunction create mode 100644 data/more_mobs/function/general/parse.mcfunction create mode 100644 data/more_mobs/function/general/parse_heads/parse.mcfunction create mode 100644 data/more_mobs/function/general/parse_heads/parse_116.mcfunction create mode 100644 data/more_mobs/function/general/parse_heads/parse_119.mcfunction create mode 100644 data/more_mobs/function/general/reset_entity.mcfunction create mode 100644 data/more_mobs/function/general/set_on_fire_1194/check.mcfunction create mode 100644 data/more_mobs/function/general/set_on_fire_1194/exec.mcfunction create mode 100644 data/more_mobs/function/husk/anubis.mcfunction create mode 100644 data/more_mobs/function/husk/dark_husk.mcfunction create mode 100644 data/more_mobs/function/husk/mummy.mcfunction create mode 100644 data/more_mobs/function/husk/pharaoh.mcfunction create mode 100644 data/more_mobs/function/husk/pharaoh2.mcfunction create mode 100644 data/more_mobs/function/husk/villager_1.mcfunction create mode 100644 data/more_mobs/function/husk/villager_2.mcfunction create mode 100644 data/more_mobs/function/install.mcfunction create mode 100644 data/more_mobs/function/main.mcfunction create mode 100644 data/more_mobs/function/menu_reset.mcfunction create mode 100644 data/more_mobs/function/messages/welcome.mcfunction create mode 100644 data/more_mobs/function/piglin/librarian.mcfunction create mode 100644 data/more_mobs/function/piglin/rich.mcfunction create mode 100644 data/more_mobs/function/pillager/bad_omen.mcfunction create mode 100644 data/more_mobs/function/pillager/injured.mcfunction create mode 100644 data/more_mobs/function/reset.mcfunction create mode 100644 data/more_mobs/function/reset_heads.mcfunction create mode 100644 data/more_mobs/function/settings.mcfunction create mode 100644 data/more_mobs/function/settings/additional_loot/disable.mcfunction create mode 100644 data/more_mobs/function/settings/additional_loot/disable_val.mcfunction create mode 100644 data/more_mobs/function/settings/additional_loot/enable.mcfunction create mode 100644 data/more_mobs/function/settings/additional_loot/enable_val.mcfunction create mode 100644 data/more_mobs/function/settings/core.mcfunction create mode 100644 data/more_mobs/function/settings/custom_heads/disable.mcfunction create mode 100644 data/more_mobs/function/settings/custom_heads/drops_disable.mcfunction create mode 100644 data/more_mobs/function/settings/custom_heads/drops_enable.mcfunction create mode 100644 data/more_mobs/function/settings/custom_heads/enable.mcfunction create mode 100644 data/more_mobs/function/settings/defaults.mcfunction create mode 100644 data/more_mobs/function/settings/disable_burning.mcfunction create mode 100644 data/more_mobs/function/settings/disable_spiders.mcfunction create mode 100644 data/more_mobs/function/settings/enable_burning.mcfunction create mode 100644 data/more_mobs/function/settings/enable_spiders.mcfunction create mode 100644 data/more_mobs/function/settings/hide_feedback/hide.mcfunction create mode 100644 data/more_mobs/function/settings/hide_feedback/main.mcfunction create mode 100644 data/more_mobs/function/settings/hide_feedback/unhide.mcfunction create mode 100644 data/more_mobs/function/skeleton/alternate.mcfunction create mode 100644 data/more_mobs/function/skeleton/captain.mcfunction create mode 100644 data/more_mobs/function/skeleton/captain_loot.mcfunction create mode 100644 data/more_mobs/function/skeleton/creeper.mcfunction create mode 100644 data/more_mobs/function/skeleton/deepd.mcfunction create mode 100644 data/more_mobs/function/skeleton/deepd_corpse.mcfunction create mode 100644 data/more_mobs/function/skeleton/deepd_monster.mcfunction create mode 100644 data/more_mobs/function/skeleton/drowned.mcfunction create mode 100644 data/more_mobs/function/skeleton/egyptian_helper.mcfunction create mode 100644 data/more_mobs/function/skeleton/golden_pharaoh.mcfunction create mode 100644 data/more_mobs/function/skeleton/magic.mcfunction create mode 100644 data/more_mobs/function/skeleton/miner.mcfunction create mode 100644 data/more_mobs/function/skeleton/mossy.mcfunction create mode 100644 data/more_mobs/function/skeleton/necromancer.mcfunction create mode 100644 data/more_mobs/function/skeleton/overgrown.mcfunction create mode 100644 data/more_mobs/function/skeleton/pharaoh_servant.mcfunction create mode 100644 data/more_mobs/function/skeleton/piglin.mcfunction create mode 100644 data/more_mobs/function/skeleton/pirate.mcfunction create mode 100644 data/more_mobs/function/skeleton/pirate_loot.mcfunction create mode 100644 data/more_mobs/function/skeleton/radioactive.mcfunction create mode 100644 data/more_mobs/function/skeleton/rotting.mcfunction create mode 100644 data/more_mobs/function/skeleton/sea.mcfunction create mode 100644 data/more_mobs/function/skeleton/snowy.mcfunction create mode 100644 data/more_mobs/function/skeleton/sunken/loot.mcfunction create mode 100644 data/more_mobs/function/skeleton/sunken/sunken_1.mcfunction create mode 100644 data/more_mobs/function/skeleton/sunken/sunken_2.mcfunction create mode 100644 data/more_mobs/function/skeleton/sunken/sunken_3.mcfunction create mode 100644 data/more_mobs/function/skeleton/sunken/sunken_4.mcfunction create mode 100644 data/more_mobs/function/skeleton/warped.mcfunction create mode 100644 data/more_mobs/function/skeleton/zombie.mcfunction create mode 100644 data/more_mobs/function/spider/inair.mcfunction create mode 100644 data/more_mobs/function/spider/main.mcfunction create mode 100644 data/more_mobs/function/spider/onceiling.mcfunction create mode 100644 data/more_mobs/function/stray/creepy.mcfunction create mode 100644 data/more_mobs/function/stray/deepd.mcfunction create mode 100644 data/more_mobs/function/stray/queen.mcfunction create mode 100644 data/more_mobs/function/uninstall.mcfunction create mode 100644 data/more_mobs/function/uninstall_old.mcfunction create mode 100644 data/more_mobs/function/version_checker.mcfunction create mode 100644 data/more_mobs/function/version_checker/try_again.mcfunction create mode 100644 data/more_mobs/function/vindicator/dead.mcfunction create mode 100644 data/more_mobs/function/vindicator/injured.mcfunction create mode 100644 data/more_mobs/function/wither_skeleton/acid.mcfunction create mode 100644 data/more_mobs/function/wither_skeleton/burned.mcfunction create mode 100644 data/more_mobs/function/wither_skeleton/burning.mcfunction create mode 100644 data/more_mobs/function/wither_skeleton/crimson.mcfunction create mode 100644 data/more_mobs/function/wither_skeleton/deepd.mcfunction create mode 100644 data/more_mobs/function/wither_skeleton/demon.mcfunction create mode 100644 data/more_mobs/function/wither_skeleton/goggles.mcfunction create mode 100644 data/more_mobs/function/wither_skeleton/king.mcfunction create mode 100644 data/more_mobs/function/wither_skeleton/magma_1.mcfunction create mode 100644 data/more_mobs/function/wither_skeleton/magma_2.mcfunction create mode 100644 data/more_mobs/function/wither_skeleton/ornate.mcfunction create mode 100644 data/more_mobs/function/wither_skeleton/soul_sand.mcfunction create mode 100644 data/more_mobs/function/wither_skeleton/steve.mcfunction create mode 100644 data/more_mobs/function/zombie/bloody.mcfunction create mode 100644 data/more_mobs/function/zombie/boulder.mcfunction create mode 100644 data/more_mobs/function/zombie/deepd.mcfunction create mode 100644 data/more_mobs/function/zombie/enderman.mcfunction create mode 100644 data/more_mobs/function/zombie/frozen.mcfunction create mode 100644 data/more_mobs/function/zombie/infested.mcfunction create mode 100644 data/more_mobs/function/zombie/jungle.mcfunction create mode 100644 data/more_mobs/function/zombie/lake.mcfunction create mode 100644 data/more_mobs/function/zombie/lobber.mcfunction create mode 100644 data/more_mobs/function/zombie/miner_1.mcfunction create mode 100644 data/more_mobs/function/zombie/miner_2.mcfunction create mode 100644 data/more_mobs/function/zombie/rotting.mcfunction create mode 100644 data/more_mobs/function/zombie/snowy.mcfunction create mode 100644 data/more_mobs/function/zombie/swamp.mcfunction create mode 100644 data/more_mobs/function/zombie/villager.mcfunction create mode 100644 data/more_mobs/predicate/full_moon.json create mode 100644 data/more_mobs/predicate/is_night.json create mode 100644 data/more_mobs/predicate/is_raining.json create mode 100644 data/more_mobs/predicate/is_thundering.json create mode 100644 data/more_mobs/tags/block/air.json create mode 100644 data/more_mobs/tags/block/dead_corals.json create mode 100644 data/more_mobs/tags/block/jungle_blocks.json create mode 100644 data/more_mobs/tags/block/nonsolid.json create mode 100644 data/more_mobs/tags/entity_type/burns_in_daylight.json create mode 100644 data/more_mobs/tags/entity_type/parsable.json create mode 100644 data/more_mobs/tags/entity_type/spider.json create mode 100644 data/more_mobs/tags/function/settings.json create mode 100644 data/tschipcraft/function/menu.mcfunction create mode 100644 data/tschipcraft/tags/function/menu.json diff --git a/data/minecraft/loot_table/blocks/player_head.json b/data/minecraft/loot_table/blocks/player_head.json new file mode 100644 index 0000000..39d7bae --- /dev/null +++ b/data/minecraft/loot_table/blocks/player_head.json @@ -0,0 +1,50 @@ +{ + "//comment": "This loot table appends the now saved custom_data component in the block entity to the player head item. Parsing and modifying dropped head items is therefore not neccessary anymore since 24w13a.", + "type": "minecraft:block", + "pools": [ + { + "rolls": 1, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:player_head", + "functions": [ + { + "function": "minecraft:copy_components", + "source": "block_entity", + "include": [ + "minecraft:profile", + "minecraft:note_block_sound", + "minecraft:custom_name", + "minecraft:item_name", + "minecraft:custom_data" + ] + } + ] + } + ] + } + ], + "random_sequence": "minecraft:blocks/player_head", + "__smithed__": { + "rules": [ + { + "type": "append", + "target": "pools[0].entries[0].functions[0].include", + "source": { + "type": "reference", + "path": "pools[0].entries[0].functions[0].include[3]" + } + }, + { + "type": "append", + "target": "pools[0].entries[0].functions[0].include", + "source": { + "type": "reference", + "path": "pools[0].entries[0].functions[0].include[4]" + } + } + ] + } +} diff --git a/data/minecraft/tags/function/load.json b/data/minecraft/tags/function/load.json new file mode 100644 index 0000000..1dc3d8c --- /dev/null +++ b/data/minecraft/tags/function/load.json @@ -0,0 +1,5 @@ +{ + "values": [ + "more_mobs:general/install_trigger" + ] +} diff --git a/data/minecraft/tags/function/tick.json b/data/minecraft/tags/function/tick.json new file mode 100644 index 0000000..30c2dda --- /dev/null +++ b/data/minecraft/tags/function/tick.json @@ -0,0 +1,5 @@ +{ + "values": [ + "more_mobs:main" + ] +} diff --git a/data/more_mobs/function/drowned/captain_1.mcfunction b/data/more_mobs/function/drowned/captain_1.mcfunction new file mode 100644 index 0000000..3502a8f --- /dev/null +++ b/data/more_mobs/function/drowned/captain_1.mcfunction @@ -0,0 +1,16 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/28863-drowned-captain + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"entity.minecraft.drowned","italic":false},{"text":" "},{"text":"Captain Head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"ed8be957-5c45-4bca-91e9-10f92b70b5d4",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZTcwYzY5NjJlZWE5ZDFjYjBiNTAzYWI3YjZiODFmYzUwNGI4YmQwMWY4YzQxNTYxZTBjMDIwYjZkMzY2YmQwMiJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"entity.minecraft.drowned","italic":false},{"text":" "},{"text":"Captain Head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;-309597865,1548045258,-1846996743,728806868],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZTcwYzY5NjJlZWE5ZDFjYjBiNTAzYWI3YjZiODFmYzUwNGI4YmQwMWY4YzQxNTYxZTBjMDIwYjZkMzY2YmQwMiJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.drowned.ambient_water"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"translate":"entity.minecraft.drowned","italic":false},{"text":" "},{"text":"Captain Head","italic":false}]',"minecraft:profile":{id:[I;-309597865,1548045258,-1846996743,728806868],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZTcwYzY5NjJlZWE5ZDFjYjBiNTAzYWI3YjZiODFmYzUwNGI4YmQwMWY4YzQxNTYxZTBjMDIwYjZkMzY2YmQwMiJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.drowned.ambient_water","minecraft:custom_data":{ts.mm.custom:1b}}} + +execute if score $loot ts.mm.settings matches 1..2 run data modify entity @s HandItems[1] set value {id:"minecraft:gold_ingot",Count:5b,count:5} +execute if score $loot ts.mm.settings matches 1..2 run data modify entity @s HandItems[0] set value {id:"minecraft:golden_sword",Count:1b} +tag @s add ts.mm.captain_drowned +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/drowned/captain_2.mcfunction b/data/more_mobs/function/drowned/captain_2.mcfunction new file mode 100644 index 0000000..c9698e9 --- /dev/null +++ b/data/more_mobs/function/drowned/captain_2.mcfunction @@ -0,0 +1,15 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/37247-drowned-captain + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"entity.minecraft.drowned","italic":false},{"text":" "},{"text":"Captain Head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"18232a6b-444c-480f-a58c-e639615eaa32",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMWRhNGIxYzRlZDc3YmZmY2EyNDM2N2U4ZTQ1MGZmYTJkNTdjN2I1NmY5NTFkODg0OWU4ZDMzZjhhZDU5ZTVlMiJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"entity.minecraft.drowned","italic":false},{"text":" "},{"text":"Captain Head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;404957803,1145849871,-1517492679,1633593906],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMWRhNGIxYzRlZDc3YmZmY2EyNDM2N2U4ZTQ1MGZmYTJkNTdjN2I1NmY5NTFkODg0OWU4ZDMzZjhhZDU5ZTVlMiJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.drowned.ambient_water"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"translate":"entity.minecraft.drowned","italic":false},{"text":" "},{"text":"Captain Head","italic":false}]',"minecraft:profile":{id:[I;404957803,1145849871,-1517492679,1633593906],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMWRhNGIxYzRlZDc3YmZmY2EyNDM2N2U4ZTQ1MGZmYTJkNTdjN2I1NmY5NTFkODg0OWU4ZDMzZjhhZDU5ZTVlMiJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.drowned.ambient_water","minecraft:custom_data":{ts.mm.custom:1b}}} + +execute if score $loot ts.mm.settings matches 1..2 run data modify entity @s HandItems[1] set value {id:"minecraft:raw_gold",Count:3b,count:3} +tag @s add ts.mm.captain_drowned_2 +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/drowned/dark.mcfunction b/data/more_mobs/function/drowned/dark.mcfunction new file mode 100644 index 0000000..1fcffd8 --- /dev/null +++ b/data/more_mobs/function/drowned/dark.mcfunction @@ -0,0 +1,14 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/22159-drowned + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"block.minecraft.banner.stripe_center.white","italic":false},{"text":" "},{"translate":"entity.minecraft.drowned","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"b222fab3-ed76-422c-81a4-cc2d31c2b845",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvODYyZjQwODMzNzM0ZjdkOWZmYTVlODEwMDVlOWIzMTIzNDgxNTE4ODYyODk4MDA3NzI2N2YxM2MwZTU2MGVjNiJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"block.minecraft.banner.stripe_center.white","italic":false},{"text":" "},{"translate":"entity.minecraft.drowned","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;-1306330445,-311016916,-2119906259,834844741],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvODYyZjQwODMzNzM0ZjdkOWZmYTVlODEwMDVlOWIzMTIzNDgxNTE4ODYyODk4MDA3NzI2N2YxM2MwZTU2MGVjNiJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.drowned.ambient"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"translate":"block.minecraft.banner.stripe_center.white","italic":false},{"text":" "},{"translate":"entity.minecraft.drowned","italic":false}]',"minecraft:profile":{id:[I;-1306330445,-311016916,-2119906259,834844741],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvODYyZjQwODMzNzM0ZjdkOWZmYTVlODEwMDVlOWIzMTIzNDgxNTE4ODYyODk4MDA3NzI2N2YxM2MwZTU2MGVjNiJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.drowned.ambient","minecraft:custom_data":{ts.mm.custom:1b}}} + +tag @s add ts.mm.dark +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/drowned/dark_drowned.mcfunction b/data/more_mobs/function/drowned/dark_drowned.mcfunction new file mode 100644 index 0000000..06cd200 --- /dev/null +++ b/data/more_mobs/function/drowned/dark_drowned.mcfunction @@ -0,0 +1,14 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/47289-dark-drowned + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"entity.minecraft.drowned","italic":false},{"text":" "},{"text":"Head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"a78929fd-e681-4736-a906-bef6c364a070",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZmIxNTMxYzA0ZTI1ZDdmYTY0NTc2OTgyNjg0OTFjYjg5NmQzMzAyZDI2ODg0ZmNmZGYxYTBiMmY5MmQ3N2M4ZiJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"entity.minecraft.drowned","italic":false},{"text":" "},{"text":"Head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;-1484183043,-427735242,-1459175690,-1016815504],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZmIxNTMxYzA0ZTI1ZDdmYTY0NTc2OTgyNjg0OTFjYjg5NmQzMzAyZDI2ODg0ZmNmZGYxYTBiMmY5MmQ3N2M4ZiJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.drowned.ambient"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"translate":"entity.minecraft.drowned","italic":false},{"text":" "},{"text":"Head","italic":false}]',"minecraft:profile":{id:[I;-1484183043,-427735242,-1459175690,-1016815504],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZmIxNTMxYzA0ZTI1ZDdmYTY0NTc2OTgyNjg0OTFjYjg5NmQzMzAyZDI2ODg0ZmNmZGYxYTBiMmY5MmQ3N2M4ZiJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.drowned.ambient","minecraft:custom_data":{ts.mm.custom:1b}}} + +tag @s add ts.mm.drowned +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/drowned/decayed.mcfunction b/data/more_mobs/function/drowned/decayed.mcfunction new file mode 100644 index 0000000..38b7ad0 --- /dev/null +++ b/data/more_mobs/function/drowned/decayed.mcfunction @@ -0,0 +1,14 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/39615-drowned + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Decayed","italic":false},{"text":" "},{"translate":"entity.minecraft.drowned","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"f45913ef-cf77-4cd5-b0de-990f918fe2a3",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMzAzZDU1MmJmZjk4MTM3YTRkMjBlZjFhZTYwODdlNzE3YTg3YWRlMmNlNWE0ZDkwNDRjNzc2ZjBlNTk0OGEyIn19fQ=="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Decayed","italic":false},{"text":" "},{"translate":"entity.minecraft.drowned","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;-195488785,-814265131,-1327589105,-1852841309],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMzAzZDU1MmJmZjk4MTM3YTRkMjBlZjFhZTYwODdlNzE3YTg3YWRlMmNlNWE0ZDkwNDRjNzc2ZjBlNTk0OGEyIn19fQ=="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.drowned.ambient"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"text":"Decayed","italic":false},{"text":" "},{"translate":"entity.minecraft.drowned","italic":false}]',"minecraft:profile":{id:[I;-195488785,-814265131,-1327589105,-1852841309],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMzAzZDU1MmJmZjk4MTM3YTRkMjBlZjFhZTYwODdlNzE3YTg3YWRlMmNlNWE0ZDkwNDRjNzc2ZjBlNTk0OGEyIn19fQ=="}]},"minecraft:note_block_sound":"minecraft:entity.drowned.ambient","minecraft:custom_data":{ts.mm.custom:1b}}} + +tag @s add ts.mm.decayed +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/drowned/deepd.mcfunction b/data/more_mobs/function/drowned/deepd.mcfunction new file mode 100644 index 0000000..7491e59 --- /dev/null +++ b/data/more_mobs/function/drowned/deepd.mcfunction @@ -0,0 +1,14 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/52048-deep-dark-drowned + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Deep Dark","italic":false},{"text":" "},{"translate":"entity.minecraft.drowned","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"48c307ed-6d7a-4e2f-bbe8-93091b7a560a",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvY2JmOGM1NzJhNzM3ZDgyNzVlM2MzOGFiY2ZlYmRiMTI1YmUzYjkwZmMxZTVlNzllNmVkZDU0OTlhYTYyYmVkNiJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"biome.minecraft.deep_dark","italic":false},{"text":" "},{"translate":"entity.minecraft.drowned","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;1220741101,1836731951,-1142385911,461002250],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvY2JmOGM1NzJhNzM3ZDgyNzVlM2MzOGFiY2ZlYmRiMTI1YmUzYjkwZmMxZTVlNzllNmVkZDU0OTlhYTYyYmVkNiJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:block.sculk_catalyst.bloom"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"translate":"biome.minecraft.deep_dark","italic":false},{"text":" "},{"translate":"entity.minecraft.drowned","italic":false}]',"minecraft:profile":{id:[I;1220741101,1836731951,-1142385911,461002250],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvY2JmOGM1NzJhNzM3ZDgyNzVlM2MzOGFiY2ZlYmRiMTI1YmUzYjkwZmMxZTVlNzllNmVkZDU0OTlhYTYyYmVkNiJ9fX0="}]},"minecraft:note_block_sound":"minecraft:block.sculk_catalyst.bloom","minecraft:custom_data":{ts.mm.custom:1b}}} + +tag @s add ts.mm.deepd +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/drowned/drowned_1.mcfunction b/data/more_mobs/function/drowned/drowned_1.mcfunction new file mode 100644 index 0000000..a78270b --- /dev/null +++ b/data/more_mobs/function/drowned/drowned_1.mcfunction @@ -0,0 +1,14 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/19759-drowned + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"entity.minecraft.drowned","italic":false},{"text":" "},{"text":"Head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"d11d3a37-8fcb-43e6-a46f-63ebd90f659e",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYzFhNzMyNTI0MDFhNmU5NDZmNjFkYmFjMGUwMjdkMTgzZTBhY2U1ODc1MmZhMTVhNjRkMjQ0OWZjZjUwODdiNyJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"entity.minecraft.drowned","italic":false},{"text":" "},{"text":"Head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;-786613705,-1882504218,-1536203797,-653302370],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYzFhNzMyNTI0MDFhNmU5NDZmNjFkYmFjMGUwMjdkMTgzZTBhY2U1ODc1MmZhMTVhNjRkMjQ0OWZjZjUwODdiNyJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.drowned.ambient"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"translate":"entity.minecraft.drowned","italic":false},{"text":" "},{"text":"Head","italic":false}]',"minecraft:profile":{id:[I;-786613705,-1882504218,-1536203797,-653302370],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYzFhNzMyNTI0MDFhNmU5NDZmNjFkYmFjMGUwMjdkMTgzZTBhY2U1ODc1MmZhMTVhNjRkMjQ0OWZjZjUwODdiNyJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.drowned.ambient","minecraft:custom_data":{ts.mm.custom:1b}}} + +tag @s add ts.mm.drowned +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/drowned/drowned_2.mcfunction b/data/more_mobs/function/drowned/drowned_2.mcfunction new file mode 100644 index 0000000..deee628 --- /dev/null +++ b/data/more_mobs/function/drowned/drowned_2.mcfunction @@ -0,0 +1,14 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/53972-drowned + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"entity.minecraft.drowned","italic":false},{"text":" "},{"text":"Head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"4b159204-0d7a-4ccc-a6a6-9ef64f679b99",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMjQ4MDBlNWY1ZTM3NTJkNGY2OWI1MjVjYzAwZGNjYTg2ODdhZThjYTBmYjYyYzQ1NzE5ZDlmY2U0NTFlYTQ1YSJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"entity.minecraft.drowned","italic":false},{"text":" "},{"text":"Head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;1259704836,226118860,-1499029770,1332190105],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMjQ4MDBlNWY1ZTM3NTJkNGY2OWI1MjVjYzAwZGNjYTg2ODdhZThjYTBmYjYyYzQ1NzE5ZDlmY2U0NTFlYTQ1YSJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.drowned.ambient"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"translate":"entity.minecraft.drowned","italic":false},{"text":" "},{"text":"Head","italic":false}]',"minecraft:profile":{id:[I;1259704836,226118860,-1499029770,1332190105],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMjQ4MDBlNWY1ZTM3NTJkNGY2OWI1MjVjYzAwZGNjYTg2ODdhZThjYTBmYjYyYzQ1NzE5ZDlmY2U0NTFlYTQ1YSJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.drowned.ambient","minecraft:custom_data":{ts.mm.custom:1b}}} + +tag @s add ts.mm.drowned +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/drowned/pale.mcfunction b/data/more_mobs/function/drowned/pale.mcfunction new file mode 100644 index 0000000..2f54557 --- /dev/null +++ b/data/more_mobs/function/drowned/pale.mcfunction @@ -0,0 +1,14 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/47290-pale-drowned + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"block.minecraft.banner.stripe_center.white","italic":false},{"text":" "},{"translate":"entity.minecraft.drowned","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"5664b137-00a3-4583-9ac3-40bbc71f752c",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYTk1M2FjZTlhOGFmZTlhOGVkN2VjNzM2N2E0OWFhMzA1NzJmMDg1YTJhMjU2ZGIyY2ViMWQ2MjFiYTZjZWEyMiJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"block.minecraft.banner.stripe_center.white","italic":false},{"text":" "},{"translate":"entity.minecraft.drowned","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;1449439543,10700163,-1698479941,-954239700],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYTk1M2FjZTlhOGFmZTlhOGVkN2VjNzM2N2E0OWFhMzA1NzJmMDg1YTJhMjU2ZGIyY2ViMWQ2MjFiYTZjZWEyMiJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.drowned.ambient"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"translate":"block.minecraft.banner.stripe_center.white","italic":false},{"text":" "},{"translate":"entity.minecraft.drowned","italic":false}]',"minecraft:profile":{id:[I;1449439543,10700163,-1698479941,-954239700],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYTk1M2FjZTlhOGFmZTlhOGVkN2VjNzM2N2E0OWFhMzA1NzJmMDg1YTJhMjU2ZGIyY2ViMWQ2MjFiYTZjZWEyMiJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.drowned.ambient","minecraft:custom_data":{ts.mm.custom:1b}}} + +tag @s add ts.mm.pale +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/drowned/pillager.mcfunction b/data/more_mobs/function/drowned/pillager.mcfunction new file mode 100644 index 0000000..0ef5c11 --- /dev/null +++ b/data/more_mobs/function/drowned/pillager.mcfunction @@ -0,0 +1,15 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/41452-drowned-pillager + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"entity.minecraft.drowned","italic":false},{"text":" "},{"translate":"entity.minecraft.pillager","italic":false},{"text":" "},{"text":"Head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"733e0681-e949-458f-849a-7236a5d3f72e",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNjE0MTFiY2I5NzllODRjZjE5NDQyNDg1N2U5NzM2MGQxOTBiMjkwYWQ3MTc0MGU5YjAzZTZiMzBkMjExOTNiIn19fQ=="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"entity.minecraft.drowned","italic":false},{"text":" "},{"translate":"entity.minecraft.pillager","italic":false},{"text":" "},{"text":"Head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;1933444737,-381074033,-2070253002,-1512835282],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNjE0MTFiY2I5NzllODRjZjE5NDQyNDg1N2U5NzM2MGQxOTBiMjkwYWQ3MTc0MGU5YjAzZTZiMzBkMjExOTNiIn19fQ=="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.drowned.ambient"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"translate":"entity.minecraft.drowned","italic":false},{"text":" "},{"translate":"entity.minecraft.pillager","italic":false},{"text":" "},{"text":"Head","italic":false}]',"minecraft:profile":{id:[I;1933444737,-381074033,-2070253002,-1512835282],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNjE0MTFiY2I5NzllODRjZjE5NDQyNDg1N2U5NzM2MGQxOTBiMjkwYWQ3MTc0MGU5YjAzZTZiMzBkMjExOTNiIn19fQ=="}]},"minecraft:note_block_sound":"minecraft:entity.drowned.ambient","minecraft:custom_data":{ts.mm.custom:1b}}} + +execute if score $loot ts.mm.settings matches 1..2 run data modify entity @s HandItems[0] set value {id:"minecraft:iron_axe",Count:1b} +tag @s add ts.mm.pillager_drowned +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/drowned/pirate.mcfunction b/data/more_mobs/function/drowned/pirate.mcfunction new file mode 100644 index 0000000..04c84f7 --- /dev/null +++ b/data/more_mobs/function/drowned/pirate.mcfunction @@ -0,0 +1,15 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/41453-drowned-pirate + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"entity.minecraft.drowned","italic":false},{"text":" "},{"text":"Pirate Head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"61a11f15-c5b0-4063-b2ec-21c83a56ff89",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYmJlOTRmZDMxYjgyMjIyNDMyZjI3YjYwZDc2NWE1ZDYyMmZkNzZjNGUzYTg4MDdmOWExZDQxZmI3MDdhZmFlMCJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"entity.minecraft.drowned","italic":false},{"text":" "},{"text":"Pirate Head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;1637949205,-978304925,-1293147704,978780041],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYmJlOTRmZDMxYjgyMjIyNDMyZjI3YjYwZDc2NWE1ZDYyMmZkNzZjNGUzYTg4MDdmOWExZDQxZmI3MDdhZmFlMCJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.drowned.ambient"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"translate":"entity.minecraft.drowned","italic":false},{"text":" "},{"text":"Pirate Head","italic":false}]',"minecraft:profile":{id:[I;1637949205,-978304925,-1293147704,978780041],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYmJlOTRmZDMxYjgyMjIyNDMyZjI3YjYwZDc2NWE1ZDYyMmZkNzZjNGUzYTg4MDdmOWExZDQxZmI3MDdhZmFlMCJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.drowned.ambient","minecraft:custom_data":{ts.mm.custom:1b}}} + +execute if score $loot ts.mm.settings matches 1..2 run data modify entity @s HandItems[0] set value {id:"minecraft:iron_sword",Count:1b} +tag @s add ts.mm.captain_drowned +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/drowned/villager.mcfunction b/data/more_mobs/function/drowned/villager.mcfunction new file mode 100644 index 0000000..857c3b9 --- /dev/null +++ b/data/more_mobs/function/drowned/villager.mcfunction @@ -0,0 +1,14 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/23774-villager-drowned + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"entity.minecraft.drowned","italic":false},{"text":" "},{"translate":"entity.minecraft.villager","italic":false},{"text":" Head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"31cc2135-437e-41a2-bf65-ba67f3e0b29a",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNTZkYWY1MGVhZjc2YzNhNmQ1YWQzOWM5NjZmMjk4NzdiOTFkOTUwZGQxZTM3MTIyZTljODE5NTg1Yzg5ZDkyZSJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"entity.minecraft.drowned","italic":false},{"text":" "},{"translate":"entity.minecraft.villager","italic":false},{"text":" Head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;835461429,1132347810,-1083852185,-203378022],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNTZkYWY1MGVhZjc2YzNhNmQ1YWQzOWM5NjZmMjk4NzdiOTFkOTUwZGQxZTM3MTIyZTljODE5NTg1Yzg5ZDkyZSJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.drowned.ambient"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"translate":"entity.minecraft.drowned","italic":false},{"text":" "},{"translate":"entity.minecraft.villager","italic":false},{"text":" Head","italic":false}]',"minecraft:profile":{id:[I;835461429,1132347810,-1083852185,-203378022],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNTZkYWY1MGVhZjc2YzNhNmQ1YWQzOWM5NjZmMjk4NzdiOTFkOTUwZGQxZTM3MTIyZTljODE5NTg1Yzg5ZDkyZSJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.drowned.ambient","minecraft:custom_data":{ts.mm.custom:1b}}} + +tag @s add ts.mm.villager_drowned +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/drowned/villager_2.mcfunction b/data/more_mobs/function/drowned/villager_2.mcfunction new file mode 100644 index 0000000..b047c45 --- /dev/null +++ b/data/more_mobs/function/drowned/villager_2.mcfunction @@ -0,0 +1,14 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/63366-drowned-villager + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"entity.minecraft.drowned","italic":false},{"text":" "},{"translate":"entity.minecraft.villager","italic":false},{"text":" Head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"4e21d32d-9104-4d5c-a2b8-f05006fa835e",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZWIxOGM2NjA4ZTE1MjMwZTM1ZjhkZTE3YWMwM2RlMTZiZmYwZjdkYWQyZTk5OWI3ZmU3MjExOTliMTZkNDZlZCJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"entity.minecraft.drowned","italic":false},{"text":" "},{"translate":"entity.minecraft.villager","italic":false},{"text":" Head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;1310839597,-1861989028,-1564938160,117080926],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZWIxOGM2NjA4ZTE1MjMwZTM1ZjhkZTE3YWMwM2RlMTZiZmYwZjdkYWQyZTk5OWI3ZmU3MjExOTliMTZkNDZlZCJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.drowned.ambient"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"translate":"entity.minecraft.drowned","italic":false},{"text":" "},{"translate":"entity.minecraft.villager","italic":false},{"text":" Head","italic":false}]',"minecraft:profile":{id:[I;1310839597,-1861989028,-1564938160,117080926],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZWIxOGM2NjA4ZTE1MjMwZTM1ZjhkZTE3YWMwM2RlMTZiZmYwZjdkYWQyZTk5OWI3ZmU3MjExOTliMTZkNDZlZCJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.drowned.ambient","minecraft:custom_data":{ts.mm.custom:1b}}} + +tag @s add ts.mm.villager_drowned +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/drowned/warped.mcfunction b/data/more_mobs/function/drowned/warped.mcfunction new file mode 100644 index 0000000..b9bad94 --- /dev/null +++ b/data/more_mobs/function/drowned/warped.mcfunction @@ -0,0 +1,15 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/52983-warped-creature + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Warped","italic":false},{"text":" "},{"translate":"entity.minecraft.drowned","italic":false},{"text":" Head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"10d88e6d-099d-4254-88bf-9b199392412c",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZmYxMmNiNTFkN2M2MjI1NTM1NmYyNTQ4MDk2MzRmNzhhNjUxY2RkNmVlMjY1MTgwNTY5YWQwZWJmMmM0MjAxNiJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"biome.minecraft.warped_forest","italic":false},{"text":" "},{"translate":"entity.minecraft.drowned","italic":false},{"text":" Head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;282627693,161301076,-2000708839,-1819131604],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZmYxMmNiNTFkN2M2MjI1NTM1NmYyNTQ4MDk2MzRmNzhhNjUxY2RkNmVlMjY1MTgwNTY5YWQwZWJmMmM0MjAxNiJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:ambient.warped_forest.mood"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"translate":"biome.minecraft.warped_forest","italic":false},{"text":" "},{"translate":"entity.minecraft.drowned","italic":false},{"text":" Head","italic":false}]',"minecraft:profile":{id:[I;282627693,161301076,-2000708839,-1819131604],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZmYxMmNiNTFkN2M2MjI1NTM1NmYyNTQ4MDk2MzRmNzhhNjUxY2RkNmVlMjY1MTgwNTY5YWQwZWJmMmM0MjAxNiJ9fX0="}]},"minecraft:note_block_sound":"minecraft:ambient.warped_forest.mood","minecraft:custom_data":{ts.mm.custom:1b}}} + +data modify entity @s HandItems[1] set value {id:"minecraft:warped_fungus",Count:1b} +tag @s add ts.mm.warped +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/evoker/dead.mcfunction b/data/more_mobs/function/evoker/dead.mcfunction new file mode 100644 index 0000000..170ee63 --- /dev/null +++ b/data/more_mobs/function/evoker/dead.mcfunction @@ -0,0 +1,14 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/31215-dead-evoker + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"subtitles.entity.generic.death","italic":false},{"text":" "},{"translate":"entity.minecraft.evoker","italic":false},{"text":" Head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"ae8005db-d511-41df-9741-b4c98ab73a16",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYzJiOTY3OTI2M2QzMzVkOTAxZjEzMjgyMDA4NWJhYmM5NjQ1OWZlZjNmYjM4MjczYWRiMTMwZGUxZTA3YWE1ZiJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"subtitles.entity.generic.death","italic":false},{"text":" "},{"translate":"entity.minecraft.evoker","italic":false},{"text":" Head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;-1367341605,-720289313,-1757301559,-1967703530],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYzJiOTY3OTI2M2QzMzVkOTAxZjEzMjgyMDA4NWJhYmM5NjQ1OWZlZjNmYjM4MjczYWRiMTMwZGUxZTA3YWE1ZiJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.evoker.ambient"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"translate":"subtitles.entity.generic.death","italic":false},{"text":" "},{"translate":"entity.minecraft.evoker","italic":false},{"text":" Head","italic":false}]',"minecraft:profile":{id:[I;-1367341605,-720289313,-1757301559,-1967703530],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYzJiOTY3OTI2M2QzMzVkOTAxZjEzMjgyMDA4NWJhYmM5NjQ1OWZlZjNmYjM4MjczYWRiMTMwZGUxZTA3YWE1ZiJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.evoker.ambient","minecraft:custom_data":{ts.mm.custom:1b}}} + +tag @s add ts.mm.injured +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/evoker/geomancer.mcfunction b/data/more_mobs/function/evoker/geomancer.mcfunction new file mode 100644 index 0000000..cd60c18 --- /dev/null +++ b/data/more_mobs/function/evoker/geomancer.mcfunction @@ -0,0 +1,14 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/37858-geomancer + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Geomancer","italic":false},{"text":" "},{"translate":"entity.minecraft.evoker","italic":false},{"text":" Head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"92f66cc0-28b6-451e-8686-121853ca5042",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOTA5ZDNmYTZhNTYzYjIxYTExYjI2NzdhZjgzYWFkMWQzOGMyZDlkNjQ5YWZjNzYxMTQ1ODliYjc5MGMzYjBkMiJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Geomancer","italic":false},{"text":" "},{"translate":"entity.minecraft.evoker","italic":false},{"text":" Head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;-1829344064,683033886,-2038033896,1405767746],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOTA5ZDNmYTZhNTYzYjIxYTExYjI2NzdhZjgzYWFkMWQzOGMyZDlkNjQ5YWZjNzYxMTQ1ODliYjc5MGMzYjBkMiJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.evoker.cast_spell"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"text":"Geomancer","italic":false},{"text":" "},{"translate":"entity.minecraft.evoker","italic":false},{"text":" Head","italic":false}]',"minecraft:profile":{id:[I;-1829344064,683033886,-2038033896,1405767746],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOTA5ZDNmYTZhNTYzYjIxYTExYjI2NzdhZjgzYWFkMWQzOGMyZDlkNjQ5YWZjNzYxMTQ1ODliYjc5MGMzYjBkMiJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.evoker.cast_spell","minecraft:custom_data":{ts.mm.custom:1b}}} + +tag @s add ts.mm.necromancer +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/evoker/illusioner.mcfunction b/data/more_mobs/function/evoker/illusioner.mcfunction new file mode 100644 index 0000000..c077ca8 --- /dev/null +++ b/data/more_mobs/function/evoker/illusioner.mcfunction @@ -0,0 +1,6 @@ +## by Tschipcraft + +summon minecraft:illusioner ~ ~ ~ +tp @s ~ -65 ~ +data merge entity @s {DeathTime:19s} +kill @s[type=!minecraft:player] diff --git a/data/more_mobs/function/evoker/illusionist.mcfunction b/data/more_mobs/function/evoker/illusionist.mcfunction new file mode 100644 index 0000000..13c80bc --- /dev/null +++ b/data/more_mobs/function/evoker/illusionist.mcfunction @@ -0,0 +1,14 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/37857-illusionist + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"entity.minecraft.illusioner","italic":false},{"text":" "},{"translate":"entity.minecraft.evoker","italic":false},{"text":" Head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"9e524017-48fe-412f-8de4-d1992daef41e",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZGUzNjBlMmExYzZiMGY0OGY0NDIxMjU3NWM3YWQ4M2I4OTM4MDNhNmZkNGMxY2MzZTA5ODNhYmFhNTZhZjRiOSJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"entity.minecraft.illusioner","italic":false},{"text":" "},{"translate":"entity.minecraft.evoker","italic":false},{"text":" Head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;-1638776809,1224622383,-1914383975,766440478],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZGUzNjBlMmExYzZiMGY0OGY0NDIxMjU3NWM3YWQ4M2I4OTM4MDNhNmZkNGMxY2MzZTA5ODNhYmFhNTZhZjRiOSJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.evoker.celebrate"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"translate":"entity.minecraft.illusioner","italic":false},{"text":" "},{"translate":"entity.minecraft.evoker","italic":false},{"text":" Head","italic":false}]',"minecraft:profile":{id:[I;-1638776809,1224622383,-1914383975,766440478],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZGUzNjBlMmExYzZiMGY0OGY0NDIxMjU3NWM3YWQ4M2I4OTM4MDNhNmZkNGMxY2MzZTA5ODNhYmFhNTZhZjRiOSJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.evoker.celebrate","minecraft:custom_data":{ts.mm.custom:1b}}} + +tag @s add ts.mm.necromancer +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/general/effect_loop/exec.mcfunction b/data/more_mobs/function/general/effect_loop/exec.mcfunction new file mode 100644 index 0000000..8b31468 --- /dev/null +++ b/data/more_mobs/function/general/effect_loop/exec.mcfunction @@ -0,0 +1,37 @@ +## by Tschipcraft +# Called by effect_loop_trigger.mcfunction + +## Effects + +effect give @s[type=minecraft:wither_skeleton,tag=ts.mm.ornate] minecraft:speed 3 1 +effect give @s[type=minecraft:wither_skeleton,tag=ts.mm.burned] minecraft:slowness 3 1 + +effect give @s[type=minecraft:wither_skeleton,tag=ts.mm.demon] minecraft:speed 3 0 +effect give @s[type=minecraft:wither_skeleton,tag=ts.mm.demon] minecraft:strength 3 1 + +effect give @s[type=minecraft:stray,tag=ts.mm.queen] minecraft:speed 3 0 +effect give @s[type=minecraft:zombie,tag=ts.mm.bloody_zombie] minecraft:speed 3 0 + +effect give @s[tag=ts.mm.injured] minecraft:slowness 3 0 +effect give @s[tag=ts.mm.injured] minecraft:strength 3 0 + +effect give @s[tag=ts.mm.pharaoh] minecraft:speed 3 0 +effect give @s[tag=ts.mm.pharaoh] minecraft:resistance 3 1 + +## Particles + +execute as @s[type=minecraft:wither_skeleton,tag=ts.mm.magma_2] at @s run particle minecraft:lava ~ ~1.3 ~ 0.1 0.4 0.1 0 2 +execute as @s[type=minecraft:wither_skeleton,tag=ts.mm.magma_1] at @s run particle minecraft:flame ~ ~1.3 ~ 0.1 0.4 0.1 0 3 +execute as @s[type=minecraft:wither_skeleton,tag=ts.mm.burning] at @s run particle minecraft:flame ~ ~1.3 ~ 0.1 0.4 0.1 0 3 + +execute as @s[type=minecraft:zombie,tag=ts.mm.enderman] at @s run particle minecraft:portal ~ ~1.3 ~ 0.1 0.4 0.1 0.5 3 + +execute as @s[type=minecraft:husk,tag=ts.mm.mummy] at @s run particle minecraft:block{block_state:{Name:"minecraft:sand"}} ~ ~1 ~ 0.2 0.4 0.2 0.1 7 +execute as @s[type=minecraft:skeleton,tag=ts.mm.pharaoh] at @s run particle minecraft:block{block_state:{Name:"minecraft:sand"}} ~ ~1 ~ 0.2 0.4 0.2 0.1 7 + +execute as @s[type=minecraft:drowned,tag=ts.mm.drowned] at @s run particle minecraft:falling_water ~ ~1 ~ 0.2 0.4 0.2 0.1 2 +execute as @s[type=minecraft:skeleton,tag=ts.mm.drowned] at @s run particle minecraft:falling_water ~ ~1 ~ 0.2 0.4 0.2 0.1 2 +execute as @s[type=minecraft:zombie,tag=ts.mm.drowned] at @s run particle minecraft:falling_water ~ ~1 ~ 0.2 0.4 0.2 0.1 2 + +## For 1.16 and above +function more_mobs:general/effect_loop/exec_116 diff --git a/data/more_mobs/function/general/effect_loop/exec_116.mcfunction b/data/more_mobs/function/general/effect_loop/exec_116.mcfunction new file mode 100644 index 0000000..4b97109 --- /dev/null +++ b/data/more_mobs/function/general/effect_loop/exec_116.mcfunction @@ -0,0 +1,10 @@ +##by Tschipcraft +# Effect loop extension for mc 1.16 and above + +execute as @s[type=minecraft:wither_skeleton,tag=ts.mm.burned] at @s run particle minecraft:ash ~ ~1.4 ~ 0.2 0.4 0.2 0 12 +execute as @s[type=minecraft:wither_skeleton,tag=ts.mm.ethereal] at @s run particle minecraft:soul_fire_flame ~ ~1.3 ~ 0.1 0.4 0.1 0 3 +execute as @s[type=minecraft:wither_skeleton,tag=ts.mm.crimson] at @s run particle minecraft:crimson_spore ~ ~1 ~ 0 0.5 0 0.1 7 +execute as @s[tag=ts.mm.warped] at @s run particle minecraft:warped_spore ~ ~1 ~ 0 0.5 0 0.1 7 + +## For 1.19 and above +function more_mobs:general/effect_loop/exec_119 diff --git a/data/more_mobs/function/general/effect_loop/exec_119.mcfunction b/data/more_mobs/function/general/effect_loop/exec_119.mcfunction new file mode 100644 index 0000000..f3b0746 --- /dev/null +++ b/data/more_mobs/function/general/effect_loop/exec_119.mcfunction @@ -0,0 +1,10 @@ +##by Tschipcraft +# Effect loop extension for mc 1.19 and above + +execute as @s[type=minecraft:skeleton,tag=ts.mm.deepd] at @s run particle minecraft:sculk_charge_pop ~ ~1.3 ~ 0.1 0.4 0.1 0 3 +execute as @s[type=minecraft:zombie,tag=ts.mm.deepd] at @s run particle minecraft:sculk_charge_pop ~ ~1.3 ~ 0.1 0.4 0.1 0 3 + +execute as @s[tag=ts.mm.acid] at @s run particle minecraft:spore_blossom_air ~ ~1.3 ~ 0.1 0.4 0.1 0 1 + +## Let undead mobs with custom heads burn in daylight +execute if score $mobs_burn ts.mm.settings matches 1..2 run function more_mobs:general/set_on_fire_1194/check diff --git a/data/more_mobs/function/general/effect_loop_trigger.mcfunction b/data/more_mobs/function/general/effect_loop_trigger.mcfunction new file mode 100644 index 0000000..29f8847 --- /dev/null +++ b/data/more_mobs/function/general/effect_loop_trigger.mcfunction @@ -0,0 +1,9 @@ +## by Tschipcraft +# Effect loop for additional potion and particle effects and mc version dependant features which can be placed on a loop + +execute as @e[type=#more_mobs:parsable,tag=!smithed.strict,tag=!smithed.block,tag=!global.ignore] run function more_mobs:general/effect_loop/exec + +# Reset spider entities when setting is turned off +execute if score $upsided_s ts.mm.settings matches -1..0 as @s[type=#more_mobs:spider,tag=!ts.mm.exclude,tag=ts.mm.s_onceiling] at @s run function more_mobs:spider/inair + +schedule function more_mobs:general/effect_loop_trigger 2s diff --git a/data/more_mobs/function/general/generate_random_number.mcfunction b/data/more_mobs/function/general/generate_random_number.mcfunction new file mode 100644 index 0000000..626d611 --- /dev/null +++ b/data/more_mobs/function/general/generate_random_number.mcfunction @@ -0,0 +1,9 @@ +## by Tschipcraft +# Generates a random number and stores it in the ts.mm.random score of the executing entity + +scoreboard players operation $generator ts.mm.ran1 *= $generator ts.mm.ran2 +scoreboard players operation $generator ts.mm.ran1 %= $generator ts.mm.ran3 +scoreboard players operation $generator ts.mm.ran5 = $generator ts.mm.ran1 +scoreboard players operation $generator ts.mm.ran5 %= $generator ts.mm.ran4 + +scoreboard players operation @s ts.mm.random = $generator ts.mm.ran5 diff --git a/data/more_mobs/function/general/install_trigger.mcfunction b/data/more_mobs/function/general/install_trigger.mcfunction new file mode 100644 index 0000000..3fb829c --- /dev/null +++ b/data/more_mobs/function/general/install_trigger.mcfunction @@ -0,0 +1,4 @@ +##by Tschipcraft + +function more_mobs:version_checker +function more_mobs:install diff --git a/data/more_mobs/function/general/main_extension_116.mcfunction b/data/more_mobs/function/general/main_extension_116.mcfunction new file mode 100644 index 0000000..d4b722b --- /dev/null +++ b/data/more_mobs/function/general/main_extension_116.mcfunction @@ -0,0 +1,4 @@ +##by Tschipcraft +# Extension for piglin parsing in mc 1.16 and above + +execute if score $disable_piglins ts.mm.settings matches 0 as @e[type=minecraft:piglin,tag=!ts.mm.parsed,tag=!smithed.entity,tag=!smithed.block,tag=!global.ignore,tag=!global.ignore.kill,tag=!ts.mm.exclude] at @s run function more_mobs:general/parse diff --git a/data/more_mobs/function/general/parse.mcfunction b/data/more_mobs/function/general/parse.mcfunction new file mode 100644 index 0000000..7865d5a --- /dev/null +++ b/data/more_mobs/function/general/parse.mcfunction @@ -0,0 +1,15 @@ +## by Tschipcraft + +execute as @s[type=!player] run function more_mobs:general/generate_random_number + +# Mooshroom +execute as @s[type=minecraft:mooshroom,tag=!ts.mm.parsed,scores={ts.mm.random=14..}] run data merge entity @s {Type:"brown"} + +# Evoker +execute as @s[type=minecraft:evoker,tag=!ts.mm.parsed,scores={ts.mm.random=18..}] run function more_mobs:evoker/illusioner + +# Extension for custom heads +execute if score $enable_heads ts.mm.settings matches 1..2 if score @s ts.mm.random matches 0.. run function more_mobs:general/parse_heads/parse + +# Finalize +tag @s[scores={ts.mm.random=0..}] add ts.mm.parsed diff --git a/data/more_mobs/function/general/parse_heads/parse.mcfunction b/data/more_mobs/function/general/parse_heads/parse.mcfunction new file mode 100644 index 0000000..50dee88 --- /dev/null +++ b/data/more_mobs/function/general/parse_heads/parse.mcfunction @@ -0,0 +1,101 @@ +## by Tschipcraft + +# Exclusion for already filled head slots +execute as @s[tag=!ts.mm.parsed] as @s[nbt={ArmorItems:[{},{},{},{Count:1b}]}] run tag @s add ts.mm.parsed + +# Skeleton +execute as @s[type=minecraft:skeleton,tag=!ts.mm.parsed,scores={ts.mm.random=2..3}] run function more_mobs:skeleton/alternate +execute as @s[type=minecraft:skeleton,tag=!ts.mm.parsed,scores={ts.mm.random=5..15}] if block ~ ~-1 ~ minecraft:sandstone run function more_mobs:skeleton/pharaoh_servant +execute as @s[type=minecraft:skeleton,tag=!ts.mm.parsed,scores={ts.mm.random=16..19}] if block ~ ~-1 ~ minecraft:sandstone run function more_mobs:skeleton/golden_pharaoh +execute as @s[type=minecraft:skeleton,tag=!ts.mm.parsed,scores={ts.mm.random=9..11}] run function more_mobs:skeleton/zombie +execute as @s[type=minecraft:skeleton,tag=!ts.mm.parsed,scores={ts.mm.random=12..13}] run function more_mobs:skeleton/magic +execute as @s[type=minecraft:skeleton,tag=!ts.mm.parsed,scores={ts.mm.random=5..9}] if block ~ ~-1 ~ minecraft:grass_block[snowy=true] run function more_mobs:skeleton/snowy +execute as @s[type=minecraft:skeleton,tag=!ts.mm.parsed,scores={ts.mm.random=1..2}] if block ~ ~ ~ minecraft:water run function more_mobs:skeleton/sunken/sunken_1 +execute as @s[type=minecraft:skeleton,tag=!ts.mm.parsed,scores={ts.mm.random=3..4}] if block ~ ~ ~ minecraft:water run function more_mobs:skeleton/sunken/sunken_2 +execute as @s[type=minecraft:skeleton,tag=!ts.mm.parsed,scores={ts.mm.random=5..6}] if block ~ ~ ~ minecraft:water run function more_mobs:skeleton/sunken/sunken_3 +execute as @s[type=minecraft:skeleton,tag=!ts.mm.parsed,scores={ts.mm.random=7}] if block ~ ~ ~ minecraft:water run function more_mobs:skeleton/sunken/sunken_4 +execute as @s[type=minecraft:skeleton,tag=!ts.mm.parsed,scores={ts.mm.random=9..14}] if block ~ ~ ~ minecraft:water run function more_mobs:skeleton/pirate +execute as @s[type=minecraft:skeleton,tag=!ts.mm.parsed,scores={ts.mm.random=15..16}] if block ~ ~ ~ minecraft:water run function more_mobs:skeleton/captain +execute as @s[type=minecraft:skeleton,tag=!ts.mm.parsed,scores={ts.mm.random=17..19}] if block ~ ~ ~ minecraft:water run function more_mobs:skeleton/drowned +execute as @s[type=minecraft:skeleton,tag=!ts.mm.parsed,scores={ts.mm.random=14..16}] if block ~ ~-1 ~ #more_mobs:jungle_blocks run function more_mobs:skeleton/mossy +execute as @s[type=minecraft:skeleton,tag=!ts.mm.parsed,scores={ts.mm.random=16..}] if block ~ ~-1 ~ minecraft:grass_block run function more_mobs:skeleton/overgrown +execute as @s[type=minecraft:skeleton,tag=!ts.mm.parsed,scores={ts.mm.random=1..6}] if block ~ ~-1 ~ #minecraft:sand run function more_mobs:skeleton/egyptian_helper +execute as @s[type=minecraft:skeleton,tag=!ts.mm.parsed,scores={ts.mm.random=9..11}] if block ~ ~ ~ minecraft:cave_air run function more_mobs:skeleton/miner +execute as @s[type=minecraft:skeleton,tag=!ts.mm.parsed,scores={ts.mm.random=12..16}] if block ~ ~ ~ minecraft:cave_air run function more_mobs:skeleton/radioactive +execute as @s[type=minecraft:skeleton,tag=!ts.mm.parsed,scores={ts.mm.random=16..}] if block ~ ~-1 ~ #minecraft:base_stone_overworld run function more_mobs:skeleton/rotting +execute as @s[type=minecraft:skeleton,tag=!ts.mm.parsed,scores={ts.mm.random=19}] run function more_mobs:skeleton/creeper +execute as @s[type=minecraft:skeleton,tag=!ts.mm.parsed,scores={ts.mm.random=20}] run function more_mobs:skeleton/necromancer + +# Stray +execute as @s[type=minecraft:stray,tag=!ts.mm.parsed,scores={ts.mm.random=14..17}] run function more_mobs:stray/creepy +execute as @s[type=minecraft:stray,tag=!ts.mm.parsed,scores={ts.mm.random=11..13}] run function more_mobs:stray/queen + +# Wither Skeleton +execute as @s[type=minecraft:wither_skeleton,tag=!ts.mm.parsed,scores={ts.mm.random=3..4}] run function more_mobs:wither_skeleton/goggles +execute as @s[type=minecraft:wither_skeleton,tag=!ts.mm.parsed,scores={ts.mm.random=5..6}] run function more_mobs:wither_skeleton/steve +execute as @s[type=minecraft:wither_skeleton,tag=!ts.mm.parsed,scores={ts.mm.random=7..9}] run function more_mobs:wither_skeleton/ornate +execute as @s[type=minecraft:wither_skeleton,tag=!ts.mm.parsed,scores={ts.mm.random=10}] run function more_mobs:wither_skeleton/burning +execute as @s[type=minecraft:wither_skeleton,tag=!ts.mm.parsed,scores={ts.mm.random=11..12}] run function more_mobs:wither_skeleton/burned +execute as @s[type=minecraft:wither_skeleton,tag=!ts.mm.parsed,scores={ts.mm.random=13..15}] run function more_mobs:wither_skeleton/magma_1 +execute as @s[type=minecraft:wither_skeleton,tag=!ts.mm.parsed,scores={ts.mm.random=16..18}] run function more_mobs:wither_skeleton/magma_2 +execute as @s[type=minecraft:wither_skeleton,tag=!ts.mm.parsed,scores={ts.mm.random=19}] run function more_mobs:wither_skeleton/king +execute as @s[type=minecraft:wither_skeleton,tag=!ts.mm.parsed,scores={ts.mm.random=20}] run function more_mobs:wither_skeleton/demon + +# Husk +execute as @s[type=minecraft:husk,tag=!ts.mm.parsed,scores={ts.mm.random=7..9}] run function more_mobs:husk/dark_husk +execute as @s[type=minecraft:husk,tag=!ts.mm.parsed,scores={ts.mm.random=10..12}] run function more_mobs:husk/mummy +execute as @s[type=minecraft:husk,tag=!ts.mm.parsed,scores={ts.mm.random=13..14}] run function more_mobs:husk/villager_1 +execute as @s[type=minecraft:husk,tag=!ts.mm.parsed,scores={ts.mm.random=15..16}] run function more_mobs:husk/villager_2 +execute as @s[type=minecraft:husk,tag=!ts.mm.parsed,scores={ts.mm.random=17..19}] run function more_mobs:husk/pharaoh +execute as @s[type=minecraft:husk,tag=!ts.mm.parsed,scores={ts.mm.random=20..}] run function more_mobs:husk/pharaoh2 +execute as @s[type=minecraft:husk,tag=!ts.mm.parsed,scores={ts.mm.random=5..15}] if block ~ ~-1 ~ minecraft:sandstone run function more_mobs:husk/anubis + +# Zombie +execute as @s[type=minecraft:zombie,tag=!ts.mm.parsed,scores={ts.mm.random=4..6}] run function more_mobs:zombie/villager +execute as @s[type=minecraft:zombie,tag=!ts.mm.parsed,scores={ts.mm.random=10..11}] run function more_mobs:zombie/enderman +execute as @s[type=minecraft:zombie,tag=!ts.mm.parsed,scores={ts.mm.random=13..18}] if block ~ ~-1 ~ #more_mobs:jungle_blocks run function more_mobs:zombie/jungle +execute as @s[type=minecraft:zombie,tag=!ts.mm.parsed,scores={ts.mm.random=6..11}] if block ~ ~-1 ~ minecraft:grass_block[snowy=true] run function more_mobs:zombie/snowy +execute as @s[type=minecraft:zombie,tag=!ts.mm.parsed,scores={ts.mm.random=14..19}] if block ~ ~-1 ~ minecraft:grass_block[snowy=true] run function more_mobs:zombie/frozen +execute as @s[type=minecraft:zombie,tag=!ts.mm.parsed,scores={ts.mm.random=11..19}] if block ~ ~-1 ~ #minecraft:ice run function more_mobs:zombie/frozen +execute as @s[type=minecraft:zombie,tag=!ts.mm.parsed,scores={ts.mm.random=12..16}] if block ~ ~ ~ minecraft:water run function more_mobs:zombie/lake +execute as @s[type=minecraft:zombie,tag=!ts.mm.parsed,scores={ts.mm.random=8..11}] if block ~ ~ ~ minecraft:water run function more_mobs:zombie/swamp +execute as @s[type=minecraft:zombie,tag=!ts.mm.parsed,scores={ts.mm.random=9}] run function more_mobs:zombie/lobber +execute as @s[type=minecraft:zombie,tag=!ts.mm.parsed,scores={ts.mm.random=10..11}] if block ~ ~-1 ~ #minecraft:base_stone_overworld run function more_mobs:zombie/boulder +execute as @s[type=minecraft:zombie,tag=!ts.mm.parsed,scores={ts.mm.random=12..14}] if block ~ ~ ~ minecraft:cave_air run function more_mobs:zombie/miner_1 +execute as @s[type=minecraft:zombie,tag=!ts.mm.parsed,scores={ts.mm.random=15..16}] if block ~ ~ ~ minecraft:cave_air run function more_mobs:zombie/miner_2 +execute as @s[type=minecraft:zombie,tag=!ts.mm.parsed,scores={ts.mm.random=16..}] if block ~ ~-1 ~ #minecraft:base_stone_overworld run function more_mobs:zombie/rotting +execute as @s[type=minecraft:zombie,tag=!ts.mm.parsed,scores={ts.mm.random=19..20}] run function more_mobs:zombie/bloody + +# Drowned +execute as @s[type=minecraft:drowned,tag=!ts.mm.parsed,scores={ts.mm.random=3}] run function more_mobs:drowned/dark +execute as @s[type=minecraft:drowned,tag=!ts.mm.parsed,scores={ts.mm.random=4..5}] run function more_mobs:drowned/drowned_2 +execute as @s[type=minecraft:drowned,tag=!ts.mm.parsed,scores={ts.mm.random=6..7}] run function more_mobs:drowned/dark_drowned +execute as @s[type=minecraft:drowned,tag=!ts.mm.parsed,scores={ts.mm.random=8}] run function more_mobs:drowned/pale +execute as @s[type=minecraft:drowned,tag=!ts.mm.parsed,scores={ts.mm.random=9..10}] run function more_mobs:drowned/drowned_1 +execute as @s[type=minecraft:drowned,tag=!ts.mm.parsed,scores={ts.mm.random=11}] run function more_mobs:drowned/captain_2 +execute as @s[type=minecraft:drowned,tag=!ts.mm.parsed,scores={ts.mm.random=12}] run function more_mobs:drowned/villager +execute as @s[type=minecraft:drowned,tag=!ts.mm.parsed,scores={ts.mm.random=13}] run function more_mobs:drowned/villager_2 +execute as @s[type=minecraft:drowned,tag=!ts.mm.parsed,scores={ts.mm.random=14..15}] run function more_mobs:drowned/pirate +execute as @s[type=minecraft:drowned,tag=!ts.mm.parsed,scores={ts.mm.random=16..17}] run function more_mobs:drowned/pillager +execute as @s[type=minecraft:drowned,tag=!ts.mm.parsed,scores={ts.mm.random=18..19}] run function more_mobs:drowned/captain_1 +execute as @s[type=minecraft:drowned,tag=!ts.mm.parsed,scores={ts.mm.random=20..}] run function more_mobs:drowned/decayed + +# Evoker +execute as @s[type=minecraft:evoker,tag=!ts.mm.parsed,scores={ts.mm.random=9..12}] run function more_mobs:evoker/geomancer +execute as @s[type=minecraft:evoker,tag=!ts.mm.parsed,scores={ts.mm.random=13..14}] run function more_mobs:evoker/dead +execute as @s[type=minecraft:evoker,tag=!ts.mm.parsed,scores={ts.mm.random=15..16}] run function more_mobs:evoker/illusionist + +# Pillager +execute as @s[type=minecraft:pillager,tag=!ts.mm.parsed,scores={ts.mm.random=10..12}] run function more_mobs:pillager/injured +execute as @s[type=minecraft:pillager,tag=!ts.mm.parsed,scores={ts.mm.random=13..16}] run function more_mobs:pillager/bad_omen + +# Vindicator +execute as @s[type=minecraft:vindicator,tag=!ts.mm.parsed,scores={ts.mm.random=10..12}] run function more_mobs:vindicator/injured +execute as @s[type=minecraft:vindicator,tag=!ts.mm.parsed,scores={ts.mm.random=13..14}] run function more_mobs:vindicator/dead + +# Extensions for 1.16 or above +function more_mobs:general/parse_heads/parse_116 + +# Finalize +execute if score $head_drops ts.mm.settings matches 1..2 as @s[tag=ts.mm.custom_head] run data merge entity @s {ArmorDropChances:[0.085F,0.085F,0.085F,0.030F]} +execute if score $head_drops ts.mm.settings matches -1..0 as @s[tag=ts.mm.custom_head] run data merge entity @s {ArmorDropChances:[0.085F,0.085F,0.085F,-327.670F]} diff --git a/data/more_mobs/function/general/parse_heads/parse_116.mcfunction b/data/more_mobs/function/general/parse_heads/parse_116.mcfunction new file mode 100644 index 0000000..33643da --- /dev/null +++ b/data/more_mobs/function/general/parse_heads/parse_116.mcfunction @@ -0,0 +1,21 @@ +## by Tschipcraft +# Extension for mc 1.16 or above + +execute as @s[type=minecraft:skeleton,tag=!ts.mm.parsed,scores={ts.mm.random=0..19}] if block ~ ~-1 ~ minecraft:warped_nylium run function more_mobs:skeleton/warped +execute as @s[type=minecraft:skeleton,tag=!ts.mm.parsed,scores={ts.mm.random=0..15}] if block ~ ~-1 ~ minecraft:crimson_nylium run function more_mobs:skeleton/piglin + +execute as @s[type=minecraft:wither_skeleton,tag=!ts.mm.parsed,scores={ts.mm.random=0..19}] if block ~ ~-1 ~ #minecraft:soul_fire_base_blocks run function more_mobs:wither_skeleton/soul_sand +execute as @s[type=minecraft:wither_skeleton,tag=!ts.mm.parsed,scores={ts.mm.random=0..19}] if block ~ ~-1 ~ minecraft:crimson_nylium run function more_mobs:wither_skeleton/crimson +execute as @s[type=minecraft:wither_skeleton,tag=!ts.mm.parsed,scores={ts.mm.random=0..10}] if block ~ ~-1 ~ minecraft:basalt run function more_mobs:wither_skeleton/acid + +execute as @s[type=minecraft:drowned,tag=!ts.mm.parsed] if block ~ ~-1 ~ minecraft:warped_nylium run function more_mobs:drowned/warped + +execute as @s[type=minecraft:zombie,tag=!ts.mm.parsed] if block ~ ~-1 ~ minecraft:warped_nylium run function more_mobs:zombie/infested +execute as @s[type=minecraft:zombie,tag=!ts.mm.parsed] if block ~ ~-1 ~ minecraft:crimson_nylium run function more_mobs:zombie/infested + +# Piglin +execute as @s[type=minecraft:piglin,tag=!ts.mm.parsed,scores={ts.mm.random=10..12}] run function more_mobs:piglin/librarian +execute as @s[type=minecraft:piglin,tag=!ts.mm.parsed,scores={ts.mm.random=13}] run function more_mobs:piglin/rich + +# Extension for 1.19 or above +function more_mobs:general/parse_heads/parse_119 diff --git a/data/more_mobs/function/general/parse_heads/parse_119.mcfunction b/data/more_mobs/function/general/parse_heads/parse_119.mcfunction new file mode 100644 index 0000000..cf2c786 --- /dev/null +++ b/data/more_mobs/function/general/parse_heads/parse_119.mcfunction @@ -0,0 +1,10 @@ +## by Tschipcraft +# Extension for mc 1.19 or above + +execute as @s[type=minecraft:skeleton,tag=!ts.mm.parsed,scores={ts.mm.random=0..7}] if block ~ ~-1 ~ minecraft:sculk run function more_mobs:skeleton/deepd_corpse +execute as @s[type=minecraft:skeleton,tag=!ts.mm.parsed,scores={ts.mm.random=10..18}] if block ~ ~-1 ~ minecraft:sculk run function more_mobs:skeleton/deepd +execute as @s[type=minecraft:skeleton,tag=!ts.mm.parsed,scores={ts.mm.random=19..}] if block ~ ~-1 ~ minecraft:sculk run function more_mobs:skeleton/deepd_monster +execute as @s[type=minecraft:stray,tag=!ts.mm.parsed] if block ~ ~-1 ~ minecraft:sculk run function more_mobs:stray/deepd +execute as @s[type=minecraft:wither_skeleton,tag=!ts.mm.parsed,scores={ts.mm.random=0..17}] if block ~ ~-1 ~ minecraft:sculk run function more_mobs:wither_skeleton/deepd +execute as @s[type=minecraft:zombie,tag=!ts.mm.parsed,scores={ts.mm.random=5..17}] if block ~ ~-1 ~ minecraft:sculk run function more_mobs:zombie/deepd +execute as @s[type=minecraft:drowned,tag=!ts.mm.parsed,scores={ts.mm.random=5..17}] if block ~ ~-1 ~ minecraft:sculk run function more_mobs:drowned/deepd diff --git a/data/more_mobs/function/general/reset_entity.mcfunction b/data/more_mobs/function/general/reset_entity.mcfunction new file mode 100644 index 0000000..f6b1dcb --- /dev/null +++ b/data/more_mobs/function/general/reset_entity.mcfunction @@ -0,0 +1,71 @@ +##by Tschipcraft +# Resets entity (@s) + +# Remove custom head +data modify entity @s ArmorItems[3] set value {} + +# Reset tags +tag @s remove ts.mm.parsed +tag @s remove ts.mm.custom_head + +tag @s remove ts.mm.captain_drowned +tag @s remove ts.mm.captain_drowned_2 +tag @s remove ts.mm.dark +tag @s remove ts.mm.drowned +tag @s remove ts.mm.decayed +tag @s remove ts.mm.deepd +tag @s remove ts.mm.deepd_corpse +tag @s remove ts.mm.deepd_monster +tag @s remove ts.mm.pale +tag @s remove ts.mm.pillager_drowned +tag @s remove ts.mm.villager_drowned +tag @s remove ts.mm.warped +tag @s remove ts.mm.injured +tag @s remove ts.mm.necromancer +tag @s remove ts.mm.sand +tag @s remove ts.mm.pharaoh +tag @s remove ts.mm.husk +tag @s remove ts.mm.mummy +tag @s remove ts.mm.pharaoh_husk +tag @s remove ts.mm.librarian +tag @s remove ts.mm.rich +tag @s remove ts.mm.bad_omen +tag @s remove ts.mm.injured +tag @s remove ts.mm.alternate +tag @s remove ts.mm.captain_skeleton +tag @s remove ts.mm.pirate_skeleton +tag @s remove ts.mm.sea_skeleton +tag @s remove ts.mm.sunken +tag @s remove ts.mm.creeper +tag @s remove ts.mm.magic_skeleton +tag @s remove ts.mm.miner +tag @s remove ts.mm.mossy +tag @s remove ts.mm.overgrown +tag @s remove ts.mm.piglin +tag @s remove ts.mm.acid +tag @s remove ts.mm.rotting +tag @s remove ts.mm.snowy +tag @s remove ts.mm.warped +tag @s remove ts.mm.zombie +tag @s remove ts.mm.bloody_zombie +tag @s remove ts.mm.villager_zombie +tag @s remove ts.mm.creepy +tag @s remove ts.mm.queen +tag @s remove ts.mm.dead +tag @s remove ts.mm.burned +tag @s remove ts.mm.burning +tag @s remove ts.mm.crimson +tag @s remove ts.mm.demon +tag @s remove ts.mm.goggles +tag @s remove ts.mm.king +tag @s remove ts.mm.magma_1 +tag @s remove ts.mm.magma_2 +tag @s remove ts.mm.ornate +tag @s remove ts.mm.ethereal +tag @s remove ts.mm.withered_steve +tag @s remove ts.mm.boulder +tag @s remove ts.mm.lobber +tag @s remove ts.mm.enderman +tag @s remove ts.mm.frozen +tag @s remove ts.mm.jungle +tag @s remove ts.mm.swamp diff --git a/data/more_mobs/function/general/set_on_fire_1194/check.mcfunction b/data/more_mobs/function/general/set_on_fire_1194/check.mcfunction new file mode 100644 index 0000000..700ba9f --- /dev/null +++ b/data/more_mobs/function/general/set_on_fire_1194/check.mcfunction @@ -0,0 +1,5 @@ +##by Tschipcraft +# Sets mobs with a custom head on fire if they are standing under the sunlight. This is a exclusive feature for Minecraft 1.19.4 and up +# Called by effect_loop/exec_119.mcfunction + +execute if dimension minecraft:overworld unless predicate more_mobs:is_night as @e[type=#more_mobs:burns_in_daylight,tag=ts.mm.custom_head,type=!minecraft:husk,type=!minecraft:wither_skeleton] at @s positioned over motion_blocking if entity @s[dy=999] unless block ~ ~ ~ minecraft:water run function more_mobs:general/set_on_fire_1194/exec diff --git a/data/more_mobs/function/general/set_on_fire_1194/exec.mcfunction b/data/more_mobs/function/general/set_on_fire_1194/exec.mcfunction new file mode 100644 index 0000000..1622f01 --- /dev/null +++ b/data/more_mobs/function/general/set_on_fire_1194/exec.mcfunction @@ -0,0 +1,5 @@ +##by Tschipcraft +# Sets mobs with a custom head on fire if they are standing under the sunlight. This is a exclusive feature for Minecraft 1.19.4 and up. + +execute unless predicate more_mobs:is_raining run data modify entity @s Fire set value 160s +execute if predicate more_mobs:is_raining if biome ~ ~ ~ #minecraft:snow_golem_melts unless predicate more_mobs:is_thundering run data modify entity @s Fire set value 160s diff --git a/data/more_mobs/function/husk/anubis.mcfunction b/data/more_mobs/function/husk/anubis.mcfunction new file mode 100644 index 0000000..c218346 --- /dev/null +++ b/data/more_mobs/function/husk/anubis.mcfunction @@ -0,0 +1,16 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/50995-anubis + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Anubis","italic":false},{"text":" "},{"translate":"entity.minecraft.husk","italic":false},{"text":" "},{"text":"Head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"cc5b07b0-14d3-49e7-b689-c7495713bf81",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZjBmOWY1MTI2YTZjNzAyM2VjMDhjOWY5ZjA4MDhhZGFiNzEzYWNhODEyZWNiYzAyNWEwNTYwNTJiYTUwNWE0MCJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Anubis","italic":false},{"text":" "},{"translate":"entity.minecraft.husk","italic":false},{"text":" "},{"text":"Head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;-866449488,349391335,-1232484535,1460912001],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZjBmOWY1MTI2YTZjNzAyM2VjMDhjOWY5ZjA4MDhhZGFiNzEzYWNhODEyZWNiYzAyNWEwNTYwNTJiYTUwNWE0MCJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.husk.ambient"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"text":"Anubis","italic":false},{"text":" "},{"translate":"entity.minecraft.husk","italic":false},{"text":" "},{"text":"Head","italic":false}]',"minecraft:profile":{id:[I;-866449488,349391335,-1232484535,1460912001],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZjBmOWY1MTI2YTZjNzAyM2VjMDhjOWY5ZjA4MDhhZGFiNzEzYWNhODEyZWNiYzAyNWEwNTYwNTJiYTUwNWE0MCJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.husk.ambient","minecraft:custom_data":{ts.mm.custom:1b}}} + +execute if score $val_loot ts.mm.settings matches 1..2 run data modify entity @s HandItems[1] set value {id:"minecraft:totem_of_undying",Count:1b} +execute if score $loot ts.mm.settings matches 1..2 run data modify entity @s HandItems[0] set value {id:"minecraft:golden_sword",Count:1b} +tag @s add ts.mm.pharaoh +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/husk/dark_husk.mcfunction b/data/more_mobs/function/husk/dark_husk.mcfunction new file mode 100644 index 0000000..c61f2e4 --- /dev/null +++ b/data/more_mobs/function/husk/dark_husk.mcfunction @@ -0,0 +1,14 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/41303-husk + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"entity.minecraft.husk","italic":false},{"text":" "},{"text":"Head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"e4595aa8-6e71-4cc2-a7f7-a1174a9ed8ca",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNDJjYzE3N2M2NDNlZTgzMzY0ODExZGFiZThiNDUwNWQ3MjM5OTMwNWEwMGY1ZTRkOThmNWM5MGU5ODNjYTcwNiJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"entity.minecraft.husk","italic":false},{"text":" "},{"text":"Head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;-463906136,1852918978,-1476943593,1251924170],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNDJjYzE3N2M2NDNlZTgzMzY0ODExZGFiZThiNDUwNWQ3MjM5OTMwNWEwMGY1ZTRkOThmNWM5MGU5ODNjYTcwNiJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.husk.ambient"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"translate":"entity.minecraft.husk","italic":false},{"text":" "},{"text":"Head","italic":false}]',"minecraft:profile":{id:[I;-463906136,1852918978,-1476943593,1251924170],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNDJjYzE3N2M2NDNlZTgzMzY0ODExZGFiZThiNDUwNWQ3MjM5OTMwNWEwMGY1ZTRkOThmNWM5MGU5ODNjYTcwNiJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.husk.ambient","minecraft:custom_data":{ts.mm.custom:1b}}} + +tag @s add ts.mm.husk +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/husk/mummy.mcfunction b/data/more_mobs/function/husk/mummy.mcfunction new file mode 100644 index 0000000..d0f1449 --- /dev/null +++ b/data/more_mobs/function/husk/mummy.mcfunction @@ -0,0 +1,14 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/41511-mummy-husk + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Mummy","italic":false},{"text":" "},{"translate":"entity.minecraft.husk","italic":false},{"text":" "},{"text":"Head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"0efe8601-6cc5-4ebf-a05a-61a40a2ca61f",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMTllNjk1MThjYzFhMzM0NGI2OTc3M2EwOWEyMzdjNjYzODFiODUyNzkxN2Y0YTM4NTBlZThhY2Y0ZWY0MjAzYiJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Mummy","italic":false},{"text":" "},{"translate":"entity.minecraft.husk","italic":false},{"text":" "},{"text":"Head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;251561473,1824870079,-1604689500,170698271],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMTllNjk1MThjYzFhMzM0NGI2OTc3M2EwOWEyMzdjNjYzODFiODUyNzkxN2Y0YTM4NTBlZThhY2Y0ZWY0MjAzYiJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.husk.ambient"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"text":"Mummy","italic":false},{"text":" "},{"translate":"entity.minecraft.husk","italic":false},{"text":" "},{"text":"Head","italic":false}]',"minecraft:profile":{id:[I;251561473,1824870079,-1604689500,170698271],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMTllNjk1MThjYzFhMzM0NGI2OTc3M2EwOWEyMzdjNjYzODFiODUyNzkxN2Y0YTM4NTBlZThhY2Y0ZWY0MjAzYiJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.husk.ambient","minecraft:custom_data":{ts.mm.custom:1b}}} + +tag @s add ts.mm.mummy +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/husk/pharaoh.mcfunction b/data/more_mobs/function/husk/pharaoh.mcfunction new file mode 100644 index 0000000..4e75bde --- /dev/null +++ b/data/more_mobs/function/husk/pharaoh.mcfunction @@ -0,0 +1,15 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/30268-husk-pharaoh + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Pharaoh Servant","italic":false},{"text":" "},{"translate":"entity.minecraft.husk","italic":false},{"text":" "},{"text":"Head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"d4fed84c-cc79-4865-bdb1-ca36c5a0416c",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZTViMjViMTMxNmIyODM4MmQyZWM1ZmI2MjdlYWU4MWQ0M2M0OGJmNGE1NjMwZDYyYmQ2MzZlMDllN2FiODBjOSJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Pharaoh Servant","italic":false},{"text":" "},{"translate":"entity.minecraft.husk","italic":false},{"text":" "},{"text":"Head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;-721495988,-864466843,-1112421834,-979353236],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZTViMjViMTMxNmIyODM4MmQyZWM1ZmI2MjdlYWU4MWQ0M2M0OGJmNGE1NjMwZDYyYmQ2MzZlMDllN2FiODBjOSJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.husk.ambient"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"text":"Pharaoh Servant","italic":false},{"text":" "},{"translate":"entity.minecraft.husk","italic":false},{"text":" "},{"text":"Head","italic":false}]',"minecraft:profile":{id:[I;-721495988,-864466843,-1112421834,-979353236],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZTViMjViMTMxNmIyODM4MmQyZWM1ZmI2MjdlYWU4MWQ0M2M0OGJmNGE1NjMwZDYyYmQ2MzZlMDllN2FiODBjOSJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.husk.ambient","minecraft:custom_data":{ts.mm.custom:1b}}} + +execute if score $loot ts.mm.settings matches 1..2 run data modify entity @s HandItems[0] set value {id:"minecraft:golden_sword",Count:1b} +tag @s add ts.mm.pharaoh_husk +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/husk/pharaoh2.mcfunction b/data/more_mobs/function/husk/pharaoh2.mcfunction new file mode 100644 index 0000000..681d07b --- /dev/null +++ b/data/more_mobs/function/husk/pharaoh2.mcfunction @@ -0,0 +1,15 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humans/42488-pharaoh-nemes + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Pharaoh","italic":false},{"text":" "},{"translate":"entity.minecraft.husk","italic":false},{"text":" "},{"text":"Head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"1b933be3-af9f-483f-9092-901983236ae3",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMjcyOTJjNDQzNjQ4NjRjMTYxNGJkNzllNjBkZTk2ZDkzNTlkNmJlOWNlMGFlZDY5M2ZiNzhmZTUxY2FmMmQwMSJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Pharaoh","italic":false},{"text":" "},{"translate":"entity.minecraft.husk","italic":false},{"text":" "},{"text":"Head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;462633955,-1348515777,-1869443047,-2094830877],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMjcyOTJjNDQzNjQ4NjRjMTYxNGJkNzllNjBkZTk2ZDkzNTlkNmJlOWNlMGFlZDY5M2ZiNzhmZTUxY2FmMmQwMSJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.husk.ambient"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"text":"Pharaoh","italic":false},{"text":" "},{"translate":"entity.minecraft.husk","italic":false},{"text":" "},{"text":"Head","italic":false}]',"minecraft:profile":{id:[I;462633955,-1348515777,-1869443047,-2094830877],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMjcyOTJjNDQzNjQ4NjRjMTYxNGJkNzllNjBkZTk2ZDkzNTlkNmJlOWNlMGFlZDY5M2ZiNzhmZTUxY2FmMmQwMSJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.husk.ambient","minecraft:custom_data":{ts.mm.custom:1b}}} + +execute if score $loot ts.mm.settings matches 1..2 run data modify entity @s HandItems[0] set value {id:"minecraft:golden_sword",Count:1b} +tag @s add ts.mm.pharaoh_husk +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/husk/villager_1.mcfunction b/data/more_mobs/function/husk/villager_1.mcfunction new file mode 100644 index 0000000..0099af2 --- /dev/null +++ b/data/more_mobs/function/husk/villager_1.mcfunction @@ -0,0 +1,14 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/41304-husk + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"entity.minecraft.husk","italic":false},{"text":" "},{"text":"Head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"e244f7e2-ecda-406d-b501-6e5f9ae744b1",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvN2QxYTIyYjQ5MmUyNWNmZTdjM2UyNWU0M2E1ZmEwODEwMmEwN2ZjOTI0YTk4MmRjY2YyNjBlNzZjMjA1MzI4YSJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"entity.minecraft.husk","italic":false},{"text":" "},{"text":"Head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;-498796574,-321240979,-1258197409,-1696119631],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvN2QxYTIyYjQ5MmUyNWNmZTdjM2UyNWU0M2E1ZmEwODEwMmEwN2ZjOTI0YTk4MmRjY2YyNjBlNzZjMjA1MzI4YSJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.husk.ambient"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"translate":"entity.minecraft.husk","italic":false},{"text":" "},{"text":"Head","italic":false}]',"minecraft:profile":{id:[I;-498796574,-321240979,-1258197409,-1696119631],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvN2QxYTIyYjQ5MmUyNWNmZTdjM2UyNWU0M2E1ZmEwODEwMmEwN2ZjOTI0YTk4MmRjY2YyNjBlNzZjMjA1MzI4YSJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.husk.ambient","minecraft:custom_data":{ts.mm.custom:1b}}} + +tag @s add ts.mm.husk +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/husk/villager_2.mcfunction b/data/more_mobs/function/husk/villager_2.mcfunction new file mode 100644 index 0000000..7043e6a --- /dev/null +++ b/data/more_mobs/function/husk/villager_2.mcfunction @@ -0,0 +1,14 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/41305-husk + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"entity.minecraft.husk","italic":false},{"text":" "},{"text":"Head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"93eb5f88-a476-415e-9530-96ece01ae849",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNjA4MGRjOGJjYWQ4MjdhMzYzNThiMjRlMTIxODY5MzFiYTc1MjFlOTI0ZTEzMjFlZTFiY2ExNTg5YTUzYTRhZiJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"entity.minecraft.husk","italic":false},{"text":" "},{"text":"Head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;-1813291128,-1535753890,-1791977748,-535107511],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNjA4MGRjOGJjYWQ4MjdhMzYzNThiMjRlMTIxODY5MzFiYTc1MjFlOTI0ZTEzMjFlZTFiY2ExNTg5YTUzYTRhZiJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.husk.ambient"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"translate":"entity.minecraft.husk","italic":false},{"text":" "},{"text":"Head","italic":false}]',"minecraft:profile":{id:[I;-1813291128,-1535753890,-1791977748,-535107511],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNjA4MGRjOGJjYWQ4MjdhMzYzNThiMjRlMTIxODY5MzFiYTc1MjFlOTI0ZTEzMjFlZTFiY2ExNTg5YTUzYTRhZiJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.husk.ambient","minecraft:custom_data":{ts.mm.custom:1b}}} + +tag @s add ts.mm.husk +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/install.mcfunction b/data/more_mobs/function/install.mcfunction new file mode 100644 index 0000000..46f4d53 --- /dev/null +++ b/data/more_mobs/function/install.mcfunction @@ -0,0 +1,37 @@ +## by Tschipcraft + +# Random number generator +scoreboard objectives add ts.mm.ran1 dummy +scoreboard objectives add ts.mm.ran2 dummy +scoreboard objectives add ts.mm.ran3 dummy +scoreboard objectives add ts.mm.ran4 dummy +scoreboard objectives add ts.mm.ran5 dummy +scoreboard objectives add ts.mm.random dummy + +execute unless score $generator ts.mm.ran1 matches 0.. run scoreboard players set $generator ts.mm.ran1 1430920 +scoreboard players set $generator ts.mm.ran2 16383 +scoreboard players set $generator ts.mm.ran3 131071 +scoreboard players set $generator ts.mm.ran4 21 + +# Nametag test +scoreboard objectives add ts.mm.nt_test dummy + +# Menu +scoreboard objectives add ts.mm.welcome dummy +scoreboard objectives add tschipcraft.menu trigger + +scoreboard objectives add tvc_ignore dummy + +# Settings +scoreboard objectives add ts.mm.settings dummy +# Defaults +function more_mobs:settings/defaults + +# Team +#team remove ts.mm.nonametag why did i do this? +team add ts.mm.nonametag +team modify ts.mm.nonametag nametagVisibility never +team join ts.mm.nonametag @e[type=#more_mobs:spider,tag=ts.mm.s_onceiling] + +# Schedule +schedule function more_mobs:general/effect_loop_trigger 1s diff --git a/data/more_mobs/function/main.mcfunction b/data/more_mobs/function/main.mcfunction new file mode 100644 index 0000000..869613a --- /dev/null +++ b/data/more_mobs/function/main.mcfunction @@ -0,0 +1,25 @@ +## by Tschipcraft + +## Mobs +execute if score $global ts.mm.version matches 1933.. as @e[type=#more_mobs:parsable,tag=!ts.mm.parsed,tag=!ts.mm.exclude,tag=!smithed.entity,tag=!smithed.block,tag=!global.ignore,tag=!global.ignore.kill] at @s run function more_mobs:general/parse + +## Extension for 1.16 and above +execute if score $global ts.mm.version matches 1933.. run function more_mobs:general/main_extension_116 + + +## Upside Down Spiders +# Spider +execute if score $global ts.mm.version matches 1933..3678 if score $upsided_s ts.mm.settings matches 1..2 as @e[type=#more_mobs:spider,tag=!ts.mm.exclude,tag=!smithed.entity,tag=!smithed.block,tag=!global.ignore,tag=!global.ignore.kill] at @s run function more_mobs:spider/main + + +## Parse items (until 24w09a since custom names are stored in block entities now) +#execute if score $global ts.mm.version matches ..3818 as @e[type=minecraft:item,tag=!ts.mm.parsed_item,tag=!smithed.entity,tag=!smithed.block,tag=!global.ignore] run function more_mobs:general/parse_head_items/check + + +## Menu +scoreboard players enable @a tschipcraft.menu +#scoreboard players add @a ts.mm.welcome 0 - don't show menu on first boot +execute as @a[scores={tschipcraft.menu=1..}] run scoreboard players set @s ts.mm.welcome 0 +execute as @a[scores={ts.mm.welcome=0}] run function more_mobs:messages/welcome + +execute as @a[scores={tschipcraft.menu=1..}] run schedule function more_mobs:menu_reset 1t diff --git a/data/more_mobs/function/menu_reset.mcfunction b/data/more_mobs/function/menu_reset.mcfunction new file mode 100644 index 0000000..3bf0b56 --- /dev/null +++ b/data/more_mobs/function/menu_reset.mcfunction @@ -0,0 +1,3 @@ +##by Tschipcraft + +scoreboard players reset @a[scores={tschipcraft.menu=1..}] tschipcraft.menu diff --git a/data/more_mobs/function/messages/welcome.mcfunction b/data/more_mobs/function/messages/welcome.mcfunction new file mode 100644 index 0000000..ec0ea08 --- /dev/null +++ b/data/more_mobs/function/messages/welcome.mcfunction @@ -0,0 +1,4 @@ +## by Tschipcraft + +tellraw @s ["",{"text":"\n▶ More Mobs v${version} by Tschipcraft installed!","italic":false,"color":"aqua"},{"text":"\n"},{"text":"[Settings]","color":"aqua","clickEvent":{"action":"run_command","value":"/function more_mobs:settings/core"},"hoverEvent":{"action":"show_text","contents":"☵ Open the settings menu."}},{"text":" "},{"text":"[Reset]","color":"red","clickEvent":{"action":"run_command","value":"/function more_mobs:reset"},"hoverEvent":{"action":"show_text","contents":["",{"text":"⏏ Reset the data pack/mod.","color":"white"}]}},{"text":" "},{"text":"[Uninstall]","color":"dark_red","clickEvent":{"action":"run_command","value":"/function more_mobs:uninstall"},"hoverEvent":{"action":"show_text","contents":["",{"text":"⏻ Uninstall the data pack/mod.","color":"white"},{"text":" \n\u26a0 Warning: This will clear all worn and already obtained custom heads in entity form, excluding placed down custom heads or heads stored in containers!","color":"red"}]}},{"text":" \n"},{"text":"[Report an issue]","color":"gold","clickEvent":{"action":"open_url","value":"https://github.com/Tschipcraft/more_mobs/issues/new/choose"},"hoverEvent":{"action":"show_text","contents":"✉ Report an issue on GitHub."}},{"text":" "},{"text":"[Check for updates] ","color":"blue","clickEvent":{"action":"open_url","value":"https://tschipcraft.ddns.net/update/test.html?pack=more_mobs&v=${version}"},"hoverEvent":{"action":"show_text","contents":"🔔 Check for updates on my website."}}] +scoreboard players set @s ts.mm.welcome 1 diff --git a/data/more_mobs/function/piglin/librarian.mcfunction b/data/more_mobs/function/piglin/librarian.mcfunction new file mode 100644 index 0000000..bab6bfa --- /dev/null +++ b/data/more_mobs/function/piglin/librarian.mcfunction @@ -0,0 +1,15 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/34888-piglin-librarian + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"entity.minecraft.villager.librarian","italic":false},{"text":" "},{"text":"Piglin Head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"d4a47f40-2a91-4506-9d32-f97a48a3ea47",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNTg2OGQ1ZTRlZDk2ZmMyN2ZhODRmMGNhOGRkZWY0NjA4MzA4MDg2MzdkY2E3YmQ2N2QyZmFkMzk5MGM2NmY0NyJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"entity.minecraft.villager.librarian","italic":false},{"text":" "},{"translate":"entity.minecraft.piglin","italic":false},{"text":" Head"}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;-727417024,714163462,-1657603718,1218701895],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNTg2OGQ1ZTRlZDk2ZmMyN2ZhODRmMGNhOGRkZWY0NjA4MzA4MDg2MzdkY2E3YmQ2N2QyZmFkMzk5MGM2NmY0NyJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.piglin.jealous"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"translate":"entity.minecraft.villager.librarian","italic":false},{"text":" "},{"translate":"entity.minecraft.piglin","italic":false},{"text":" Head"}]',"minecraft:profile":{id:[I;-727417024,714163462,-1657603718,1218701895],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNTg2OGQ1ZTRlZDk2ZmMyN2ZhODRmMGNhOGRkZWY0NjA4MzA4MDg2MzdkY2E3YmQ2N2QyZmFkMzk5MGM2NmY0NyJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.piglin.jealous","minecraft:custom_data":{ts.mm.custom:1b}}} + +tag @s add ts.mm.librarian +tag @s add ts.mm.custom_head +tag @s add ts.mm.parsed diff --git a/data/more_mobs/function/piglin/rich.mcfunction b/data/more_mobs/function/piglin/rich.mcfunction new file mode 100644 index 0000000..c380113 --- /dev/null +++ b/data/more_mobs/function/piglin/rich.mcfunction @@ -0,0 +1,15 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/38109-rich-piglin + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Rich","italic":false},{"text":" "},{"text":"Piglin Head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"d3349ec7-79f4-4326-936a-d4fb9f9543be",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYWZhOTczMjJlNDY0OWYxZTA1ZjhkZmEzYjc0Mjk5YzJmMzQ4YWNkNDYyNTQwM2Y0ODZiMWI0NDA0M2M5M2Y3NyJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Rich","italic":false},{"text":" "},{"translate":"entity.minecraft.piglin","italic":false},{"text":" Head"}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;-751526201,2046051110,-1821715205,-1617607746],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYWZhOTczMjJlNDY0OWYxZTA1ZjhkZmEzYjc0Mjk5YzJmMzQ4YWNkNDYyNTQwM2Y0ODZiMWI0NDA0M2M5M2Y3NyJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.piglin.admiring_item"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"text":"Rich","italic":false},{"text":" "},{"translate":"entity.minecraft.piglin","italic":false},{"text":" Head"}]',"minecraft:profile":{id:[I;-751526201,2046051110,-1821715205,-1617607746],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYWZhOTczMjJlNDY0OWYxZTA1ZjhkZmEzYjc0Mjk5YzJmMzQ4YWNkNDYyNTQwM2Y0ODZiMWI0NDA0M2M5M2Y3NyJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.piglin.admiring_item","minecraft:custom_data":{ts.mm.custom:1b}}} + +tag @s add ts.mm.rich +tag @s add ts.mm.custom_head +tag @s add ts.mm.parsed diff --git a/data/more_mobs/function/pillager/bad_omen.mcfunction b/data/more_mobs/function/pillager/bad_omen.mcfunction new file mode 100644 index 0000000..b4c50c1 --- /dev/null +++ b/data/more_mobs/function/pillager/bad_omen.mcfunction @@ -0,0 +1,14 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/28338-bad-omen-pillager + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"effect.minecraft.bad_omen","italic":false},{"text":" "},{"translate":"entity.minecraft.pillager","italic":false},{"text":" Head"}]'},ts.mm.custom:1b,SkullOwner:{Id:"143a145b-015a-4abd-b1a9-6d86632a11d5",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMzQ1NDNlM2RmYjUwNDhiNDNjYTNjM2FiY2YwZGY0YjNmY2ZiMTdhOTk4NTRkNzZjZmFhNjdhNjYxZjU2NGZkOSJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"effect.minecraft.bad_omen","italic":false},{"text":" "},{"translate":"entity.minecraft.pillager","italic":false},{"text":" Head"}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;339350619,22694589,-1314296442,1663701461],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMzQ1NDNlM2RmYjUwNDhiNDNjYTNjM2FiY2YwZGY0YjNmY2ZiMTdhOTk4NTRkNzZjZmFhNjdhNjYxZjU2NGZkOSJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.pillager.celebrate"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"translate":"effect.minecraft.bad_omen","italic":false},{"text":" "},{"translate":"entity.minecraft.pillager","italic":false},{"text":" Head"}]',"minecraft:profile":{id:[I;339350619,22694589,-1314296442,1663701461],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMzQ1NDNlM2RmYjUwNDhiNDNjYTNjM2FiY2YwZGY0YjNmY2ZiMTdhOTk4NTRkNzZjZmFhNjdhNjYxZjU2NGZkOSJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.pillager.celebrate","minecraft:custom_data":{ts.mm.custom:1b}}} + +tag @s add ts.mm.bad_omen +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/pillager/injured.mcfunction b/data/more_mobs/function/pillager/injured.mcfunction new file mode 100644 index 0000000..adf7f3b --- /dev/null +++ b/data/more_mobs/function/pillager/injured.mcfunction @@ -0,0 +1,14 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/41451-injured-pillager + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"subtitles.entity.generic.death","italic":false},{"text":" "},{"translate":"entity.minecraft.pillager","italic":false},{"text":" Head"}]'},ts.mm.custom:1b,SkullOwner:{Id:"f4a622d1-9f50-42c1-a58e-72eb794fd480",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvN2U3ZjEzZWU1ZDZjYzZmMDg0YjRhNGM0OTg2MGRkMDJhYjA1NWUxNDM3ZmY3ZTYxNzY0YTY2MjI4N2VjNWFmOCJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"subtitles.entity.generic.death","italic":false},{"text":" "},{"translate":"entity.minecraft.pillager","italic":false},{"text":" Head"}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;-190438703,-1622129983,-1517391125,2035274880],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvN2U3ZjEzZWU1ZDZjYzZmMDg0YjRhNGM0OTg2MGRkMDJhYjA1NWUxNDM3ZmY3ZTYxNzY0YTY2MjI4N2VjNWFmOCJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.pillager.ambient"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"translate":"subtitles.entity.generic.death","italic":false},{"text":" "},{"translate":"entity.minecraft.pillager","italic":false},{"text":" Head"}]',"minecraft:profile":{id:[I;-190438703,-1622129983,-1517391125,2035274880],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvN2U3ZjEzZWU1ZDZjYzZmMDg0YjRhNGM0OTg2MGRkMDJhYjA1NWUxNDM3ZmY3ZTYxNzY0YTY2MjI4N2VjNWFmOCJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.pillager.ambient","minecraft:custom_data":{ts.mm.custom:1b}}} + +tag @s add ts.mm.injured +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/reset.mcfunction b/data/more_mobs/function/reset.mcfunction new file mode 100644 index 0000000..105d0e2 --- /dev/null +++ b/data/more_mobs/function/reset.mcfunction @@ -0,0 +1,16 @@ +## by Tschipcraft + +# Reset spiders +execute as @s[type=#more_mobs:spider,tag=ts.mm.s_onceiling] run function more_mobs:spider/inair +team remove ts.mm.nonametag + +# Check for stuck version checker +execute if score $global ts.mm.version matches 0 run function more_mobs:version_checker/try_again + +# Reset random number generator +function more_mobs:install + +say ⏏ Successfully resetted More Mobs by Tschipcraft! [Initiated by @s] + +tellraw @s {"text":"Resetting More Mobs by Tschipcraft..."} +tellraw @s {"text":"[Click here, if you want to additionally reset worn custom heads from loaded entities]","color":"yellow","clickEvent":{"action":"run_command","value":"/function more_mobs:reset_heads"},"hoverEvent":{"action":"show_text","contents":{"text":"\u26a0 Warning: This will clear all already obtained custom heads in entity form as well, excluding placed down custom heads or heads stored in containers! This will not remove any additional given loot like armor and tools.","color":"red"}}} diff --git a/data/more_mobs/function/reset_heads.mcfunction b/data/more_mobs/function/reset_heads.mcfunction new file mode 100644 index 0000000..996f7da --- /dev/null +++ b/data/more_mobs/function/reset_heads.mcfunction @@ -0,0 +1,9 @@ +## by Tschipcraft +# This function clears all worn custom heads from loaded entities + +execute if score $global ts.mm.version matches ..3818 as @e[nbt={ArmorItems:[{},{},{},{id:"minecraft:player_head",Count:1b,tag:{ts.mm.custom:1b}}]},tag=!global.ignore,tag=!smithed.entity,tag=!smithed.block] at @s run function more_mobs:general/reset_entity +execute if score $global ts.mm.version matches 3819.. as @e[nbt={ArmorItems:[{},{},{},{id:"minecraft:player_head",count:1,components:{"minecraft:custom_data":{ts.mm.custom:1b}}}]},tag=!global.ignore,tag=!smithed.entity,tag=!smithed.block] at @s run function more_mobs:general/reset_entity + +tag @e[tag=ts.mm.parsed] remove ts.mm.parsed + +say Successfully resetted custom player heads! diff --git a/data/more_mobs/function/settings.mcfunction b/data/more_mobs/function/settings.mcfunction new file mode 100644 index 0000000..5606de6 --- /dev/null +++ b/data/more_mobs/function/settings.mcfunction @@ -0,0 +1,3 @@ +## by Tschipcraft + +function more_mobs:settings/core diff --git a/data/more_mobs/function/settings/additional_loot/disable.mcfunction b/data/more_mobs/function/settings/additional_loot/disable.mcfunction new file mode 100644 index 0000000..97f034f --- /dev/null +++ b/data/more_mobs/function/settings/additional_loot/disable.mcfunction @@ -0,0 +1,5 @@ +##by Tschipcraft + +scoreboard players set $loot ts.mm.settings 0 +scoreboard players set $val_loot ts.mm.settings 0 +function more_mobs:settings/core diff --git a/data/more_mobs/function/settings/additional_loot/disable_val.mcfunction b/data/more_mobs/function/settings/additional_loot/disable_val.mcfunction new file mode 100644 index 0000000..3c4d6f0 --- /dev/null +++ b/data/more_mobs/function/settings/additional_loot/disable_val.mcfunction @@ -0,0 +1,4 @@ +##by Tschipcraft + +scoreboard players set $val_loot ts.mm.settings 0 +function more_mobs:settings/core diff --git a/data/more_mobs/function/settings/additional_loot/enable.mcfunction b/data/more_mobs/function/settings/additional_loot/enable.mcfunction new file mode 100644 index 0000000..6133e6d --- /dev/null +++ b/data/more_mobs/function/settings/additional_loot/enable.mcfunction @@ -0,0 +1,5 @@ +##by Tschipcraft + +scoreboard players set $loot ts.mm.settings 1 +scoreboard players set $val_loot ts.mm.settings 1 +function more_mobs:settings/core diff --git a/data/more_mobs/function/settings/additional_loot/enable_val.mcfunction b/data/more_mobs/function/settings/additional_loot/enable_val.mcfunction new file mode 100644 index 0000000..524ad69 --- /dev/null +++ b/data/more_mobs/function/settings/additional_loot/enable_val.mcfunction @@ -0,0 +1,4 @@ +##by Tschipcraft + +scoreboard players set $val_loot ts.mm.settings 1 +function more_mobs:settings/core diff --git a/data/more_mobs/function/settings/core.mcfunction b/data/more_mobs/function/settings/core.mcfunction new file mode 100644 index 0000000..68985d6 --- /dev/null +++ b/data/more_mobs/function/settings/core.mcfunction @@ -0,0 +1,38 @@ +##by Tschipcraft + +tellraw @s [{"text":"\n"},{"text":"=-=More Mobs Settings=-=","bold":true,"color":"dark_green"}] + +execute if score $enable_heads ts.mm.settings matches 1 run tellraw @s ["",{"text":"Custom Heads","bold":true,"hoverEvent":{"action":"show_text","contents":[{"text":"If enabled, custom player heads will be given to supported humanoid mobs."}]}},{"text":" \u0020 "},{"text":"[on]","bold":true,"color":"green","clickEvent":{"action":"run_command","value":"/function more_mobs:settings/custom_heads/enable"}},{"text":" \u0020| \u0020"},{"text":"[off]","color":"dark_red","clickEvent":{"action":"run_command","value":"/function more_mobs:settings/custom_heads/disable"}}] +execute if score $enable_heads ts.mm.settings matches 0 run tellraw @s ["",{"text":"Custom Heads","bold":true,"hoverEvent":{"action":"show_text","contents":[{"text":"If enabled, custom player heads will be given to supported humanoid mobs."}]}},{"text":" \u0020 "},{"text":"[on]","color":"dark_green","clickEvent":{"action":"run_command","value":"/function more_mobs:settings/custom_heads/enable"}},{"text":" \u0020| \u0020"},{"text":"[off]","bold":true,"color":"red","clickEvent":{"action":"run_command","value":"/function more_mobs:settings/custom_heads/disable"}}] +execute if score $enable_heads ts.mm.settings matches -1 run tellraw @s [{"text":"Custom Heads [off]","bold":false,"color":"gray","hoverEvent":{"action":"show_text","contents":[{"text":"This setting is getting controlled globally and can't be changed here."}]}}] +execute if score $enable_heads ts.mm.settings matches 2 run tellraw @s [{"text":"Custom Heads [on]","bold":false,"color":"gray","hoverEvent":{"action":"show_text","contents":[{"text":"This setting is getting controlled globally and can't be changed here."}]}}] + +execute if score $enable_heads ts.mm.settings matches 1..2 if score $head_drops ts.mm.settings matches 1 run tellraw @s ["",{"text": " └"},{"text":"Drop Custom Heads","bold":true,"hoverEvent":{"action":"show_text","contents":[{"text":"If enabled, mobs will occasionally drop their given custom head upon death."}]}},{"text":" \u0020 "},{"text":"[on]","bold":true,"color":"green","clickEvent":{"action":"run_command","value":"/function more_mobs:settings/custom_heads/drops_enable"}},{"text":" \u0020| \u0020"},{"text":"[off]","color":"dark_red","clickEvent":{"action":"run_command","value":"/function more_mobs:settings/custom_heads/drops_disable"}}] +execute if score $enable_heads ts.mm.settings matches 1..2 if score $head_drops ts.mm.settings matches 0 run tellraw @s ["",{"text": " └"},{"text":"Drop Custom Heads","bold":true,"hoverEvent":{"action":"show_text","contents":[{"text":"If enabled, mobs will occasionally drop their given custom head upon death."}]}},{"text":" \u0020 "},{"text":"[on]","color":"dark_green","clickEvent":{"action":"run_command","value":"/function more_mobs:settings/custom_heads/drops_enable"}},{"text":" \u0020| \u0020"},{"text":"[off]","bold":true,"color":"red","clickEvent":{"action":"run_command","value":"/function more_mobs:settings/custom_heads/drops_disable"}}] +execute if score $enable_heads ts.mm.settings matches 1..2 if score $head_drops ts.mm.settings matches -1 run tellraw @s [{"text":" └Drop Custom Heads [off]","bold":false,"color":"gray","hoverEvent":{"action":"show_text","contents":[{"text":"This setting is getting controlled globally and can't be changed here."}]}}] +execute if score $enable_heads ts.mm.settings matches 1..2 if score $head_drops ts.mm.settings matches 2 run tellraw @s [{"text":" └Drop Custom Heads [on]","bold":false,"color":"gray","hoverEvent":{"action":"show_text","contents":[{"text":"This setting is getting controlled globally and can't be changed here."}]}}] +execute if score $enable_heads ts.mm.settings matches -1..0 run tellraw @s [{"text": " └","color":"gray"},{"text":"Drop Custom Heads","bold":false},{"text":" \u0020 "},{"text":"[on]"},{"text":" \u0020| \u0020"},{"text":"[off]"}] + +execute if score $loot ts.mm.settings matches 1 run tellraw @s ["",{"text":"Add additional loot to some mobs","bold":true,"hoverEvent":{"action":"show_text","contents":[{"text":"This includes for example low value tools and low value fishing loot."}]}},{"text":" \u0020 "},{"text":"[on]","bold":true,"color":"green","clickEvent":{"action":"run_command","value":"/function more_mobs:settings/additional_loot/enable"}},{"text":" \u0020| \u0020"},{"text":"[off]","color":"dark_red","clickEvent":{"action":"run_command","value":"/function more_mobs:settings/additional_loot/disable"}}] +execute if score $loot ts.mm.settings matches 0 run tellraw @s ["",{"text":"Add additional loot to some mobs","bold":true,"hoverEvent":{"action":"show_text","contents":[{"text":"This includes for example low value tools and low value fishing loot."}]}},{"text":" \u0020 "},{"text":"[on]","color":"dark_green","clickEvent":{"action":"run_command","value":"/function more_mobs:settings/additional_loot/enable"}},{"text":" \u0020| \u0020"},{"text":"[off]","bold":true,"color":"red","clickEvent":{"action":"run_command","value":"/function more_mobs:settings/additional_loot/disable"}}] +execute if score $loot ts.mm.settings matches -1 run tellraw @s [{"text":"Add additional loot to some mobs [off]","bold":false,"color":"gray","hoverEvent":{"action":"show_text","contents":[{"text":"This setting is getting controlled globally and can't be changed here."}]}}] +execute if score $loot ts.mm.settings matches 2 run tellraw @s [{"text":"Add additional loot to some mobs [on]","bold":false,"color":"gray","hoverEvent":{"action":"show_text","contents":[{"text":"This setting is getting controlled globally and can't be changed here."}]}}] + +execute if score $val_loot ts.mm.settings matches 1 run tellraw @s ["",{"text": " └"},{"text":"Add additional valuable loot","bold":true,"hoverEvent":{"action":"show_text","contents":[{"text":"This includes for example Dragon Breath, Totem of Undying and Elytra."}]}},{"text":" \u0020 "},{"text":"[on]","bold":true,"color":"green","clickEvent":{"action":"run_command","value":"/function more_mobs:settings/additional_loot/enable_val"}},{"text":" \u0020| \u0020"},{"text":"[off]","color":"dark_red","clickEvent":{"action":"run_command","value":"/function more_mobs:settings/additional_loot/disable_val"}}] +execute if score $val_loot ts.mm.settings matches 0 run tellraw @s ["",{"text": " └"},{"text":"Add additional valuable loot","bold":true,"hoverEvent":{"action":"show_text","contents":[{"text":"This includes for example Dragon Breath, Totem of Undying and Elytra."}]}},{"text":" \u0020 "},{"text":"[on]","color":"dark_green","clickEvent":{"action":"run_command","value":"/function more_mobs:settings/additional_loot/enable_val"}},{"text":" \u0020| \u0020"},{"text":"[off]","bold":true,"color":"red","clickEvent":{"action":"run_command","value":"/function more_mobs:settings/additional_loot/disable_val"}}] +execute if score $val_loot ts.mm.settings matches -1 run tellraw @s [{"text":" └Add additional valuable loot [off]","bold":false,"color":"gray","hoverEvent":{"action":"show_text","contents":[{"text":"This setting is getting controlled globally and can't be changed here."}]}}] +execute if score $val_loot ts.mm.settings matches 2 run tellraw @s [{"text":" └Add additional valuable loot [on]","bold":false,"color":"gray","hoverEvent":{"action":"show_text","contents":[{"text":"This setting is getting controlled globally and can't be changed here."}]}}] + +execute unless score $global ts.mm.version matches 3679.. if score $upsided_s ts.mm.settings matches 1 run tellraw @s ["",{"text":"Upside Down Spiders","bold":true,"hoverEvent":{"action":"show_text","contents":[{"text":"If enabled, spiders will turn upside down when hanging on ceilings."}]}},{"text":" \u0020 "},{"text":"[on]","bold":true,"color":"green","clickEvent":{"action":"run_command","value":"/function more_mobs:settings/enable_spiders"}},{"text":" \u0020| \u0020"},{"text":"[off]","color":"dark_red","clickEvent":{"action":"run_command","value":"/function more_mobs:settings/disable_spiders"}}] +execute unless score $global ts.mm.version matches 3679.. if score $upsided_s ts.mm.settings matches 0 run tellraw @s ["",{"text":"Upside Down Spiders","bold":true,"hoverEvent":{"action":"show_text","contents":[{"text":"If enabled, spiders will turn upside down when hanging on ceilings."}]}},{"text":" \u0020 "},{"text":"[on]","color":"dark_green","clickEvent":{"action":"run_command","value":"/function more_mobs:settings/enable_spiders"}},{"text":" \u0020| \u0020"},{"text":"[off]","bold":true,"color":"red","clickEvent":{"action":"run_command","value":"/function more_mobs:settings/disable_spiders"}}] +execute unless score $global ts.mm.version matches 3679.. if score $upsided_s ts.mm.settings matches -1 run tellraw @s [{"text":"Upside Down Spiders [off]","bold":false,"color":"gray","hoverEvent":{"action":"show_text","contents":[{"text":"This setting is getting controlled globally and can't be changed here."}]}}] +execute unless score $global ts.mm.version matches 3679.. if score $upsided_s ts.mm.settings matches 2 run tellraw @s [{"text":"Upside Down Spiders [on]","bold":false,"color":"gray","hoverEvent":{"action":"show_text","contents":[{"text":"This setting is getting controlled globally and can't be changed here."}]}}] +execute if score $global ts.mm.version matches 3679.. run tellraw @s {"text":"Upside Down Spiders [on] | [off]","color":"gray","bold":false,"hoverEvent":{"action":"show_text","value":[{"text":"This feature is not available in this version due to MC-128225 not having a workaround anymore."}]},"clickEvent":{"action":"open_url","value":"https://bugs.mojang.com/browse/MC-128225"}} + +execute if score $global ts.mm.version matches 3330.. if score $mobs_burn ts.mm.settings matches 1 run tellraw @s ["",{"text":"Let mobs with custom heads burn in daylight","bold":true,"hoverEvent":{"action":"show_text","contents":[{"text":"If enabled, undead mobs with custom heads will burn in the daylight."}]}},{"text":" \u0020 "},{"text":"[on]","bold":true,"color":"green","clickEvent":{"action":"run_command","value":"/function more_mobs:settings/enable_burning"}},{"text":" \u0020| \u0020"},{"text":"[off]","color":"dark_red","clickEvent":{"action":"run_command","value":"/function more_mobs:settings/disable_burning"}}] +execute if score $global ts.mm.version matches 3330.. if score $mobs_burn ts.mm.settings matches 0 run tellraw @s ["",{"text":"Let mobs with custom heads burn in daylight","bold":true,"hoverEvent":{"action":"show_text","contents":[{"text":"If enabled, undead mobs with custom heads will burn in the daylight."}]}},{"text":" \u0020 "},{"text":"[on]","color":"dark_green","clickEvent":{"action":"run_command","value":"/function more_mobs:settings/enable_burning"}},{"text":" \u0020| \u0020"},{"text":"[off]","bold":true,"color":"red","clickEvent":{"action":"run_command","value":"/function more_mobs:settings/disable_burning"}}] +execute if score $global ts.mm.version matches 3330.. if score $mobs_burn ts.mm.settings matches -1 run tellraw @s [{"text":"Let mobs with custom heads burn in daylight [off]","bold":false,"color":"gray","hoverEvent":{"action":"show_text","contents":[{"text":"This setting is getting controlled globally and can't be changed here."}]}}] +execute if score $global ts.mm.version matches 3330.. if score $mobs_burn ts.mm.settings matches 2 run tellraw @s [{"text":"Let mobs with custom heads burn in daylight [on]","bold":false,"color":"gray","hoverEvent":{"action":"show_text","contents":[{"text":"This setting is getting controlled globally and can't be changed here."}]}}] + +function more_mobs:settings/hide_feedback/main +playsound minecraft:block.dispenser.dispense master @s ~ ~ ~ 0.2 2 diff --git a/data/more_mobs/function/settings/custom_heads/disable.mcfunction b/data/more_mobs/function/settings/custom_heads/disable.mcfunction new file mode 100644 index 0000000..eeead7d --- /dev/null +++ b/data/more_mobs/function/settings/custom_heads/disable.mcfunction @@ -0,0 +1,4 @@ +##by Tschipcraft + +scoreboard players set $enable_heads ts.mm.settings 0 +function more_mobs:settings/core diff --git a/data/more_mobs/function/settings/custom_heads/drops_disable.mcfunction b/data/more_mobs/function/settings/custom_heads/drops_disable.mcfunction new file mode 100644 index 0000000..aa11545 --- /dev/null +++ b/data/more_mobs/function/settings/custom_heads/drops_disable.mcfunction @@ -0,0 +1,4 @@ +##by Tschipcraft + +scoreboard players set $head_drops ts.mm.settings 0 +function more_mobs:settings/core diff --git a/data/more_mobs/function/settings/custom_heads/drops_enable.mcfunction b/data/more_mobs/function/settings/custom_heads/drops_enable.mcfunction new file mode 100644 index 0000000..d5cbc38 --- /dev/null +++ b/data/more_mobs/function/settings/custom_heads/drops_enable.mcfunction @@ -0,0 +1,4 @@ +##by Tschipcraft + +scoreboard players set $head_drops ts.mm.settings 1 +function more_mobs:settings/core diff --git a/data/more_mobs/function/settings/custom_heads/enable.mcfunction b/data/more_mobs/function/settings/custom_heads/enable.mcfunction new file mode 100644 index 0000000..d03b23a --- /dev/null +++ b/data/more_mobs/function/settings/custom_heads/enable.mcfunction @@ -0,0 +1,4 @@ +##by Tschipcraft + +scoreboard players set $enable_heads ts.mm.settings 1 +function more_mobs:settings/core diff --git a/data/more_mobs/function/settings/defaults.mcfunction b/data/more_mobs/function/settings/defaults.mcfunction new file mode 100644 index 0000000..caa69f0 --- /dev/null +++ b/data/more_mobs/function/settings/defaults.mcfunction @@ -0,0 +1,12 @@ +##by Tschipcraft +# Set default settings upon world reload or data pack reset +# Called by install.mcfunction + +execute unless score $enable_heads ts.mm.settings matches -1..2 run scoreboard players set $enable_heads ts.mm.settings 1 +execute unless score $head_drops ts.mm.settings matches -1..2 run scoreboard players set $head_drops ts.mm.settings 1 +execute unless score $upsided_s ts.mm.settings matches -1..2 run scoreboard players set $upsided_s ts.mm.settings 1 +execute unless score $loot ts.mm.settings matches -1..2 run scoreboard players set $loot ts.mm.settings 1 +execute unless score $val_loot ts.mm.settings matches -1..2 run scoreboard players set $val_loot ts.mm.settings 1 +execute unless score $mobs_burn ts.mm.settings matches -1..2 run scoreboard players set $mobs_burn ts.mm.settings 1 +# Hidden +execute unless score $disable_piglins ts.mm.settings matches 0..1 run scoreboard players set $disable_piglins ts.mm.settings 0 diff --git a/data/more_mobs/function/settings/disable_burning.mcfunction b/data/more_mobs/function/settings/disable_burning.mcfunction new file mode 100644 index 0000000..cdff640 --- /dev/null +++ b/data/more_mobs/function/settings/disable_burning.mcfunction @@ -0,0 +1,4 @@ +##by Tschipcraft + +scoreboard players set $mobs_burn ts.mm.settings 0 +function more_mobs:settings/core diff --git a/data/more_mobs/function/settings/disable_spiders.mcfunction b/data/more_mobs/function/settings/disable_spiders.mcfunction new file mode 100644 index 0000000..25423b2 --- /dev/null +++ b/data/more_mobs/function/settings/disable_spiders.mcfunction @@ -0,0 +1,8 @@ +##by Tschipcraft + +scoreboard players set $upsided_s ts.mm.settings 0 + +execute as @e[type=minecraft:spider,tag=ts.mm.s_onceiling] run function more_mobs:spider/inair +execute as @e[type=minecraft:cave_spider,tag=ts.mm.s_onceiling] run function more_mobs:spider/inair + +function more_mobs:settings/core diff --git a/data/more_mobs/function/settings/enable_burning.mcfunction b/data/more_mobs/function/settings/enable_burning.mcfunction new file mode 100644 index 0000000..9065c5b --- /dev/null +++ b/data/more_mobs/function/settings/enable_burning.mcfunction @@ -0,0 +1,4 @@ +##by Tschipcraft + +scoreboard players set $mobs_burn ts.mm.settings 1 +function more_mobs:settings/core diff --git a/data/more_mobs/function/settings/enable_spiders.mcfunction b/data/more_mobs/function/settings/enable_spiders.mcfunction new file mode 100644 index 0000000..191bc15 --- /dev/null +++ b/data/more_mobs/function/settings/enable_spiders.mcfunction @@ -0,0 +1,4 @@ +##by Tschipcraft + +scoreboard players set $upsided_s ts.mm.settings 1 +function more_mobs:settings/core diff --git a/data/more_mobs/function/settings/hide_feedback/hide.mcfunction b/data/more_mobs/function/settings/hide_feedback/hide.mcfunction new file mode 100644 index 0000000..21b2765 --- /dev/null +++ b/data/more_mobs/function/settings/hide_feedback/hide.mcfunction @@ -0,0 +1,4 @@ +##by Tschipcraft + +gamerule sendCommandFeedback false +schedule function more_mobs:settings/hide_feedback/unhide 1t diff --git a/data/more_mobs/function/settings/hide_feedback/main.mcfunction b/data/more_mobs/function/settings/hide_feedback/main.mcfunction new file mode 100644 index 0000000..77f6084 --- /dev/null +++ b/data/more_mobs/function/settings/hide_feedback/main.mcfunction @@ -0,0 +1,5 @@ +##by Tschipcraft + +execute store result score $gamerule.send_feedback ts.mm.settings run gamerule sendCommandFeedback + +execute if score $gamerule.send_feedback ts.mm.settings matches 1 run function more_mobs:settings/hide_feedback/hide diff --git a/data/more_mobs/function/settings/hide_feedback/unhide.mcfunction b/data/more_mobs/function/settings/hide_feedback/unhide.mcfunction new file mode 100644 index 0000000..5620e7c --- /dev/null +++ b/data/more_mobs/function/settings/hide_feedback/unhide.mcfunction @@ -0,0 +1,3 @@ +##by Tschipcraft + +gamerule sendCommandFeedback true diff --git a/data/more_mobs/function/skeleton/alternate.mcfunction b/data/more_mobs/function/skeleton/alternate.mcfunction new file mode 100644 index 0000000..2e8e0ff --- /dev/null +++ b/data/more_mobs/function/skeleton/alternate.mcfunction @@ -0,0 +1,14 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/44842-skeleton + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Alternate","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"0a767328-5462-416a-936e-eb2f5d71f655",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOWQ0NmViNjQyZGMzYTRkZmJiNWFkNTI5N2VkYWUyOTk2ZWE0Y2ZmZjkyYWMyZWI1NmRmYWU5ZWUxZDU4ZTQwOCJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Alternate","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;175534888,1415725418,-1821447377,1567749717],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOWQ0NmViNjQyZGMzYTRkZmJiNWFkNTI5N2VkYWUyOTk2ZWE0Y2ZmZjkyYWMyZWI1NmRmYWU5ZWUxZDU4ZTQwOCJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.skeleton.step"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"text":"Alternate","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]',"minecraft:profile":{id:[I;175534888,1415725418,-1821447377,1567749717],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOWQ0NmViNjQyZGMzYTRkZmJiNWFkNTI5N2VkYWUyOTk2ZWE0Y2ZmZjkyYWMyZWI1NmRmYWU5ZWUxZDU4ZTQwOCJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.skeleton.step","minecraft:custom_data":{ts.mm.custom:1b}}} + +tag @s add ts.mm.alternate +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/skeleton/captain.mcfunction b/data/more_mobs/function/skeleton/captain.mcfunction new file mode 100644 index 0000000..2812d9d --- /dev/null +++ b/data/more_mobs/function/skeleton/captain.mcfunction @@ -0,0 +1,17 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/4264-skeleton-captain + +data modify entity @s HandItems[1] set value {id:"minecraft:gold_ingot",Count:4b} +function more_mobs:skeleton/captain_loot + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Captain","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"04d8d4fc-2572-434d-975e-5d51335d944e",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZjRmODVkNmFlNzdlMTJlNTFlZTQzYWRlZjQzYzNjMzI0ZTRlMzc4NDg5OWI5MDM3NjE4MmZlN2Y0N2E1ZSJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Captain","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;81319164,628245325,-1755423407,861770830],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZjRmODVkNmFlNzdlMTJlNTFlZTQzYWRlZjQzYzNjMzI0ZTRlMzc4NDg5OWI5MDM3NjE4MmZlN2Y0N2E1ZSJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.generic.swim"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"text":"Captain","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]',"minecraft:profile":{id:[I;81319164,628245325,-1755423407,861770830],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZjRmODVkNmFlNzdlMTJlNTFlZTQzYWRlZjQzYzNjMzI0ZTRlMzc4NDg5OWI5MDM3NjE4MmZlN2Y0N2E1ZSJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.generic.swim","minecraft:custom_data":{ts.mm.custom:1b}}} + +tag @s add ts.mm.captain_skeleton +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/skeleton/captain_loot.mcfunction b/data/more_mobs/function/skeleton/captain_loot.mcfunction new file mode 100644 index 0000000..6634d1c --- /dev/null +++ b/data/more_mobs/function/skeleton/captain_loot.mcfunction @@ -0,0 +1,4 @@ +## by Tschipcraft +# Gives the captain buried_treasure loot (seperated for backwards compatibility) + +execute if score $val_loot ts.mm.settings matches 1..2 run loot replace entity @s weapon.offhand loot minecraft:chests/buried_treasure diff --git a/data/more_mobs/function/skeleton/creeper.mcfunction b/data/more_mobs/function/skeleton/creeper.mcfunction new file mode 100644 index 0000000..d6ccc28 --- /dev/null +++ b/data/more_mobs/function/skeleton/creeper.mcfunction @@ -0,0 +1,15 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/monsters/37706-creeper-skeleton-skull + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"entity.minecraft.creeper","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"0f5f57db-87af-4824-ab7f-504dec8efc83",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNzFjNzVmMzViZGRlMjRlY2RmNzUwYjE0YTUwNjc3NjhlODIzMGExNTRkNDk4Yjc4NjNhNTQ2N2Y3ZWExMTg0MSJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"entity.minecraft.creeper","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;257906651,-2018555868,-1417719731,-326173565],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNzFjNzVmMzViZGRlMjRlY2RmNzUwYjE0YTUwNjc3NjhlODIzMGExNTRkNDk4Yjc4NjNhNTQ2N2Y3ZWExMTg0MSJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.creeper.hurt"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"translate":"entity.minecraft.creeper","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]',"minecraft:profile":{id:[I;257906651,-2018555868,-1417719731,-326173565],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNzFjNzVmMzViZGRlMjRlY2RmNzUwYjE0YTUwNjc3NjhlODIzMGExNTRkNDk4Yjc4NjNhNTQ2N2Y3ZWExMTg0MSJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.creeper.hurt","minecraft:custom_data":{ts.mm.custom:1b}}} + +data modify entity @s HandItems[0] set value {id:"minecraft:bow",Count:0b} +tag @s add ts.mm.creeper +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/skeleton/deepd.mcfunction b/data/more_mobs/function/skeleton/deepd.mcfunction new file mode 100644 index 0000000..f77563a --- /dev/null +++ b/data/more_mobs/function/skeleton/deepd.mcfunction @@ -0,0 +1,14 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/52494-sculk-skeleton + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Deep Dark","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"585866e7-6a71-4341-9c80-bbeba2055dc1",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZjU1MjU4OTNmZWI2MTM5YWI1Yjc3MjRjNjk5YzAyZGM2Y2U3ZGQxY2EyNDRmMWMwZWYzZGMxMjZlODc1Y2FkNSJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"block.minecraft.sculk","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;1482188519,1785807681,-1669284885,-1576706623],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZjU1MjU4OTNmZWI2MTM5YWI1Yjc3MjRjNjk5YzAyZGM2Y2U3ZGQxY2EyNDRmMWMwZWYzZGMxMjZlODc1Y2FkNSJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:block.sculk_catalyst.bloom"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"translate":"block.minecraft.sculk","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]',"minecraft:profile":{id:[I;1482188519,1785807681,-1669284885,-1576706623],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZjU1MjU4OTNmZWI2MTM5YWI1Yjc3MjRjNjk5YzAyZGM2Y2U3ZGQxY2EyNDRmMWMwZWYzZGMxMjZlODc1Y2FkNSJ9fX0="}]},"minecraft:note_block_sound":"minecraft:block.sculk_catalyst.bloom","minecraft:custom_data":{ts.mm.custom:1b}}} + +tag @s add ts.mm.deepd +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/skeleton/deepd_corpse.mcfunction b/data/more_mobs/function/skeleton/deepd_corpse.mcfunction new file mode 100644 index 0000000..78d874a --- /dev/null +++ b/data/more_mobs/function/skeleton/deepd_corpse.mcfunction @@ -0,0 +1,14 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/monsters/52050-deep-dark-corpse + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Deep Dark Corpse","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"dbabe347-39e2-46ae-bef0-314fc64c7151",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvY2I1YjBjNzdhMmQ0MWQ4ZDcxNDRlOGE1NmJiOWM0NTZlYTk4MTJkMWNlNjY1Yzc4NjdmYWU4NDllOGM3YzkzMSJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"biome.minecraft.deep_dark","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;-609492153,971130542,-1091554993,-968068783],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvY2I1YjBjNzdhMmQ0MWQ4ZDcxNDRlOGE1NmJiOWM0NTZlYTk4MTJkMWNlNjY1Yzc4NjdmYWU4NDllOGM3YzkzMSJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:block.sculk_vein.fall"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"translate":"biome.minecraft.deep_dark","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]',"minecraft:profile":{id:[I;-609492153,971130542,-1091554993,-968068783],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvY2I1YjBjNzdhMmQ0MWQ4ZDcxNDRlOGE1NmJiOWM0NTZlYTk4MTJkMWNlNjY1Yzc4NjdmYWU4NDllOGM3YzkzMSJ9fX0="}]},"minecraft:note_block_sound":"minecraft:block.sculk_vein.fall","minecraft:custom_data":{ts.mm.custom:1b}}} + +tag @s add ts.mm.deepd_corpse +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/skeleton/deepd_monster.mcfunction b/data/more_mobs/function/skeleton/deepd_monster.mcfunction new file mode 100644 index 0000000..c3886a0 --- /dev/null +++ b/data/more_mobs/function/skeleton/deepd_monster.mcfunction @@ -0,0 +1,14 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/monsters/53764-sculk-monster + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Deep Dark Monster","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"6e46d7cb-5610-4c6d-9046-b6002ab09e3c",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMjhjODljZDMzM2IwZmNiY2E4ODQyNDI1OTcyOWI4ODk1OWZhZThmODlhZjhkMGMxMjBlNjIxMDJkNTNjOWRiYiJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"biome.minecraft.deep_dark","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;1850136523,1443908717,-1874414080,716217916],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMjhjODljZDMzM2IwZmNiY2E4ODQyNDI1OTcyOWI4ODk1OWZhZThmODlhZjhkMGMxMjBlNjIxMDJkNTNjOWRiYiJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.warden.ambient"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"translate":"biome.minecraft.deep_dark","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]',"minecraft:profile":{id:[I;1850136523,1443908717,-1874414080,716217916],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMjhjODljZDMzM2IwZmNiY2E4ODQyNDI1OTcyOWI4ODk1OWZhZThmODlhZjhkMGMxMjBlNjIxMDJkNTNjOWRiYiJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.warden.ambient","minecraft:custom_data":{ts.mm.custom:1b}}} + +tag @s add ts.mm.deepd_monster +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/skeleton/drowned.mcfunction b/data/more_mobs/function/skeleton/drowned.mcfunction new file mode 100644 index 0000000..7f78d61 --- /dev/null +++ b/data/more_mobs/function/skeleton/drowned.mcfunction @@ -0,0 +1,15 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/41294-drowned-skeleton-zombie + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"entity.minecraft.drowned","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"0e940379-d476-4260-b830-9b9965c0d154",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYmIwYmZkYTVjNDY4YTA2Yjk3YmUzMjEzZjA0ZDRjZGMzOWJiYmExZmMyNjg0MTZkZDZlNmE0ODU2Mjg4N2M3MiJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"entity.minecraft.drowned","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;244581241,-730447264,-1204773991,1707135316],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYmIwYmZkYTVjNDY4YTA2Yjk3YmUzMjEzZjA0ZDRjZGMzOWJiYmExZmMyNjg0MTZkZDZlNmE0ODU2Mjg4N2M3MiJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.zombie.converted_to_drowned"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"translate":"entity.minecraft.drowned","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]',"minecraft:profile":{id:[I;244581241,-730447264,-1204773991,1707135316],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYmIwYmZkYTVjNDY4YTA2Yjk3YmUzMjEzZjA0ZDRjZGMzOWJiYmExZmMyNjg0MTZkZDZlNmE0ODU2Mjg4N2M3MiJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.zombie.converted_to_drowned","minecraft:custom_data":{ts.mm.custom:1b}}} + +execute if score $loot ts.mm.settings matches 1..2 run data modify entity @s HandItems[1] set value {id:"minecraft:gold_nugget",Count:4b,count:4} +tag @s add ts.mm.drowned +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/skeleton/egyptian_helper.mcfunction b/data/more_mobs/function/skeleton/egyptian_helper.mcfunction new file mode 100644 index 0000000..8b3b20a --- /dev/null +++ b/data/more_mobs/function/skeleton/egyptian_helper.mcfunction @@ -0,0 +1,16 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/monsters/3115-skeleton-pharaoh + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Egyptian Helper","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"27d2b452-f9b6-419a-b16a-f73c6abed93f",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOGU1NWRmOTc5YWI3OTc0OWY4YjU1MWI0MjM5YTQ2OWFhNzY5ZDliNDYwNTBhYWJkOWY2ZDFjZWU1M2VkMzYifX19"}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Egyptian Helper","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;668120146,-105496166,-1318389956,1790892351],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOGU1NWRmOTc5YWI3OTc0OWY4YjU1MWI0MjM5YTQ2OWFhNzY5ZDliNDYwNTBhYWJkOWY2ZDFjZWU1M2VkMzYifX19"}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.skeleton.ambient"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"text":"Egyptian Helper","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]',"minecraft:profile":{id:[I;668120146,-105496166,-1318389956,1790892351],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOGU1NWRmOTc5YWI3OTc0OWY4YjU1MWI0MjM5YTQ2OWFhNzY5ZDliNDYwNTBhYWJkOWY2ZDFjZWU1M2VkMzYifX19"}]},"minecraft:note_block_sound":"minecraft:entity.skeleton.ambient","minecraft:custom_data":{ts.mm.custom:1b}}} + +execute if score $global ts.mm.version matches ..3818 if score $loot ts.mm.settings matches 1..2 run data modify entity @s HandItems[1] set value {id:"minecraft:tipped_arrow",Count:3b,tag:{Potion:"minecraft:long_poison"}} +execute if score $global ts.mm.version matches 3819.. if score $loot ts.mm.settings matches 1..2 run data modify entity @s HandItems[1] set value {id:"minecraft:tipped_arrow",count:3,components:{"minecraft:potion_contents":{potion:"minecraft:long_poison"}}} +tag @s add ts.mm.sand +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/skeleton/golden_pharaoh.mcfunction b/data/more_mobs/function/skeleton/golden_pharaoh.mcfunction new file mode 100644 index 0000000..1466d7c --- /dev/null +++ b/data/more_mobs/function/skeleton/golden_pharaoh.mcfunction @@ -0,0 +1,15 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/43359-pharaoh + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Golden Pharaoh","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"713661fc-baf9-4496-8907-d349608cf986",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMTAyNDkwMGIzZDU0ZDEzMDkxOTRkMmMyZjRjNjJhOTVmMTI3ZGY1OWI4MmM2NDE1NDdlNmU4ZmVlNTk3ZTZjIn19fQ=="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Golden Pharaoh","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;1899389436,-1158069098,-1995975863,1619851654],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMTAyNDkwMGIzZDU0ZDEzMDkxOTRkMmMyZjRjNjJhOTVmMTI3ZGY1OWI4MmM2NDE1NDdlNmU4ZmVlNTk3ZTZjIn19fQ=="}]}},BlockEntityTag:{note_block_sound:"minecraft:item.totem.use"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"text":"Golden Pharaoh","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]',"minecraft:profile":{id:[I;1899389436,-1158069098,-1995975863,1619851654],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMTAyNDkwMGIzZDU0ZDEzMDkxOTRkMmMyZjRjNjJhOTVmMTI3ZGY1OWI4MmM2NDE1NDdlNmU4ZmVlNTk3ZTZjIn19fQ=="}]},"minecraft:note_block_sound":"minecraft:item.totem.use","minecraft:custom_data":{ts.mm.custom:1b}}} + +execute if score $val_loot ts.mm.settings matches 1..2 run data modify entity @s HandItems[1] set value {id:"minecraft:totem_of_undying",Count:1b} +tag @s add ts.mm.pharaoh +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/skeleton/magic.mcfunction b/data/more_mobs/function/skeleton/magic.mcfunction new file mode 100644 index 0000000..afb4212 --- /dev/null +++ b/data/more_mobs/function/skeleton/magic.mcfunction @@ -0,0 +1,15 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/24853-skeleton + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Magical ","italic":false},{"translate":"block.minecraft.skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"625dc966-353b-4dfc-bc80-778911fe4191",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMmE5NDI1Njg4ZTE3ZTExZWVkYjYyMzI5MjRkMGViMTE1NThhMzk3ZTIzNDdhMWQyOWY3ODBkYWQxOTA4YTNiNiJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Magical ","italic":false},{"translate":"block.minecraft.skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;1650313574,893079036,-1132431479,301875601],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMmE5NDI1Njg4ZTE3ZTExZWVkYjYyMzI5MjRkMGViMTE1NThhMzk3ZTIzNDdhMWQyOWY3ODBkYWQxOTA4YTNiNiJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.skeleton.ambient"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"text":"Magical ","italic":false},{"translate":"block.minecraft.skeleton_skull","italic":false}]',"minecraft:profile":{id:[I;1650313574,893079036,-1132431479,301875601],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMmE5NDI1Njg4ZTE3ZTExZWVkYjYyMzI5MjRkMGViMTE1NThhMzk3ZTIzNDdhMWQyOWY3ODBkYWQxOTA4YTNiNiJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.skeleton.ambient","minecraft:custom_data":{ts.mm.custom:1b}}} + +execute if score $val_loot ts.mm.settings matches 1..2 run data modify entity @s HandItems[1] set value {id:"minecraft:dragon_breath",Count:1b} +tag @s add ts.mm.magic_skeleton +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/skeleton/miner.mcfunction b/data/more_mobs/function/skeleton/miner.mcfunction new file mode 100644 index 0000000..f7cbbfc --- /dev/null +++ b/data/more_mobs/function/skeleton/miner.mcfunction @@ -0,0 +1,15 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/22092-skeleton-miner + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Miner","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"740668a2-205d-46af-b227-d49a57201e80",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOWNkZTExZTc5NDE2NjY5Njc5ZDNkODIwYzJhNzI2ZWUzNjVjNWRmNjQzNWI4MWMwNmUxMmFmMzYyZmU3OWMwYiJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Miner","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;1946577058,542983855,-1306012518,1461722752],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOWNkZTExZTc5NDE2NjY5Njc5ZDNkODIwYzJhNzI2ZWUzNjVjNWRmNjQzNWI4MWMwNmUxMmFmMzYyZmU3OWMwYiJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.skeleton.ambient"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"text":"Miner","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]',"minecraft:profile":{id:[I;1946577058,542983855,-1306012518,1461722752],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOWNkZTExZTc5NDE2NjY5Njc5ZDNkODIwYzJhNzI2ZWUzNjVjNWRmNjQzNWI4MWMwNmUxMmFmMzYyZmU3OWMwYiJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.skeleton.ambient","minecraft:custom_data":{ts.mm.custom:1b}}} + +execute if score $loot ts.mm.settings matches 1..2 run data modify entity @s HandItems[1] set value {id:"minecraft:golden_pickaxe",Count:1b} +tag @s add ts.mm.miner +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/skeleton/mossy.mcfunction b/data/more_mobs/function/skeleton/mossy.mcfunction new file mode 100644 index 0000000..2bcd0da --- /dev/null +++ b/data/more_mobs/function/skeleton/mossy.mcfunction @@ -0,0 +1,14 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/monsters/36070-mossy-skeleton + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Mossy","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"a4425db5-c6cd-4a53-ab97-a12c19cb08fd",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYTNmYTVlYzk2ZDI1YmY2OTJlNTI4MTA0MDViNGJmOGRjYzY4OTdmYTZjMjBkMzY0NmZlZjNjNjRlMDNjNWI1In19fQ=="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Mossy","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;568547842,-563131352,-1762988576,385258655],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYTNmYTVlYzk2ZDI1YmY2OTJlNTI4MTA0MDViNGJmOGRjYzY4OTdmYTZjMjBkMzY0NmZlZjNjNjRlMDNjNWI1In19fQ=="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.skeleton.ambient"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"text":"Mossy","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]',"minecraft:profile":{id:[I;568547842,-563131352,-1762988576,385258655],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYTNmYTVlYzk2ZDI1YmY2OTJlNTI4MTA0MDViNGJmOGRjYzY4OTdmYTZjMjBkMzY0NmZlZjNjNjRlMDNjNWI1In19fQ=="}]},"minecraft:note_block_sound":"minecraft:entity.skeleton.ambient","minecraft:custom_data":{ts.mm.custom:1b}}} + +tag @s add ts.mm.mossy +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/skeleton/necromancer.mcfunction b/data/more_mobs/function/skeleton/necromancer.mcfunction new file mode 100644 index 0000000..0d4f4d0 --- /dev/null +++ b/data/more_mobs/function/skeleton/necromancer.mcfunction @@ -0,0 +1,16 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/47213-necromancer + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Necromancer","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"e23349de-2ee3-4b19-afa1-b093e5041328",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZTA2ODZhMGQ5MzliYzlhY2YxY2UxZjY2OGQ0MDg0ZTdlNjRkNjE1NTUzZmIxYzM2ZjUxMjdiNDFjOGNiNzkxMSJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Necromancer","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;-499955234,786647833,-1348357997,-452717784],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZTA2ODZhMGQ5MzliYzlhY2YxY2UxZjY2OGQ0MDg0ZTdlNjRkNjE1NTUzZmIxYzM2ZjUxMjdiNDFjOGNiNzkxMSJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.illusioner.cast_spell"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"text":"Necromancer","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]',"minecraft:profile":{id:[I;-499955234,786647833,-1348357997,-452717784],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZTA2ODZhMGQ5MzliYzlhY2YxY2UxZjY2OGQ0MDg0ZTdlNjRkNjE1NTUzZmIxYzM2ZjUxMjdiNDFjOGNiNzkxMSJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.illusioner.cast_spell","minecraft:custom_data":{ts.mm.custom:1b}}} + +execute if score $global ts.mm.version matches ..3818 if score $loot ts.mm.settings matches 1..2 run data modify entity @s HandItems[1] set value {id:"minecraft:tipped_arrow",Count:3b,tag:{CustomPotionEffects:[{Id:9,Amplifier:0b,Duration:60},{Id:19,Amplifier:1b,Duration:80},{Id:27,Amplifier:1b,Duration:2400,ShowParticles:1b}]}} +execute if score $global ts.mm.version matches 3819.. if score $loot ts.mm.settings matches 1..2 run data modify entity @s HandItems[1] set value {id:"minecraft:tipped_arrow",count:3,components:{"minecraft:potion_contents":{custom_effects:[{id:"minecraft:nausea",amplifier:0,duration:60},{id:"minecraft:poison",amplifier:1,duration:80},{id:"minecraft:unluck",amplifier:1,duration:2400,show_particles:true}]}}} +tag @s add ts.mm.necromancer +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/skeleton/overgrown.mcfunction b/data/more_mobs/function/skeleton/overgrown.mcfunction new file mode 100644 index 0000000..9466253 --- /dev/null +++ b/data/more_mobs/function/skeleton/overgrown.mcfunction @@ -0,0 +1,14 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/41296-mossy-skeleton + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Overgrown","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"8a5d33ad-5166-437f-b388-a96ef216cfe3",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZDQxODZhY2JmZGYyYjc5ZGIwNDFmOTU3NWY4ZTAyZjU5MGY2YTUxZWY0NjRiM2M0YzIxNWRmZGFhMGVkYTlhNCJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Overgrown","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;-1539154507,-959624621,-1416126164,432736509],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZDQxODZhY2JmZGYyYjc5ZGIwNDFmOTU3NWY4ZTAyZjU5MGY2YTUxZWY0NjRiM2M0YzIxNWRmZGFhMGVkYTlhNCJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.skeleton.ambient"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"text":"Overgrown","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]',"minecraft:profile":{id:[I;-1539154507,-959624621,-1416126164,432736509],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZDQxODZhY2JmZGYyYjc5ZGIwNDFmOTU3NWY4ZTAyZjU5MGY2YTUxZWY0NjRiM2M0YzIxNWRmZGFhMGVkYTlhNCJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.skeleton.ambient","minecraft:custom_data":{ts.mm.custom:1b}}} + +tag @s add ts.mm.overgrown +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/skeleton/pharaoh_servant.mcfunction b/data/more_mobs/function/skeleton/pharaoh_servant.mcfunction new file mode 100644 index 0000000..5a94c9a --- /dev/null +++ b/data/more_mobs/function/skeleton/pharaoh_servant.mcfunction @@ -0,0 +1,15 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/36394-robot + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Pharaoh Servant","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"4744a07a-975c-4dc7-820b-9d3df20b36ec",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNWRjOTU4ODEyNWIzZmNkNTM0ZjJjYjk4NGQ1N2UwZThiYjBiMWEwNDM1OGNlNTk5MGY4NTljMDI2NzRlZDg1MyJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Pharaoh Servant","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;1195679866,-1755558457,-2113168067,-234146068],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNWRjOTU4ODEyNWIzZmNkNTM0ZjJjYjk4NGQ1N2UwZThiYjBiMWEwNDM1OGNlNTk5MGY4NTljMDI2NzRlZDg1MyJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.skeleton.ambient"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"text":"Pharaoh Servant","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]',"minecraft:profile":{id:[I;1195679866,-1755558457,-2113168067,-234146068],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNWRjOTU4ODEyNWIzZmNkNTM0ZjJjYjk4NGQ1N2UwZThiYjBiMWEwNDM1OGNlNTk5MGY4NTljMDI2NzRlZDg1MyJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.skeleton.ambient","minecraft:custom_data":{ts.mm.custom:1b}}} + +execute if score $loot ts.mm.settings matches 1..2 run data modify entity @s HandItems[0] set value {id:"minecraft:golden_sword",Count:1b} +tag @s add ts.mm.pharaoh +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/skeleton/piglin.mcfunction b/data/more_mobs/function/skeleton/piglin.mcfunction new file mode 100644 index 0000000..819e6ae --- /dev/null +++ b/data/more_mobs/function/skeleton/piglin.mcfunction @@ -0,0 +1,15 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/45791-piglin-skeleton-skull + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Piglin","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"495d2a87-6e2a-4b2d-a8f1-63e2331d7952",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZDgxNjA0OTRkMmNiZjRlYWQ3ZmRkZTE1MmU2Y2YzM2I3NjU3ZDhjZWZkZjU5YmVkZDFiOWRhNDhkNzVkZWRjIn19fQ=="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"entity.minecraft.piglin","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;1230842503,1848265517,-1460575262,857569618],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZDgxNjA0OTRkMmNiZjRlYWQ3ZmRkZTE1MmU2Y2YzM2I3NjU3ZDhjZWZkZjU5YmVkZDFiOWRhNDhkNzVkZWRjIn19fQ=="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.piglin.ambient"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"translate":"entity.minecraft.piglin","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]',"minecraft:profile":{id:[I;1230842503,1848265517,-1460575262,857569618],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZDgxNjA0OTRkMmNiZjRlYWQ3ZmRkZTE1MmU2Y2YzM2I3NjU3ZDhjZWZkZjU5YmVkZDFiOWRhNDhkNzVkZWRjIn19fQ=="}]},"minecraft:note_block_sound":"minecraft:entity.piglin.ambient","minecraft:custom_data":{ts.mm.custom:1b}}} + +execute if score $loot ts.mm.settings matches 1..2 run data modify entity @s HandItems[0] set value {id:"minecraft:crossbow",Count:1b} +tag @s add ts.mm.piglin +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/skeleton/pirate.mcfunction b/data/more_mobs/function/skeleton/pirate.mcfunction new file mode 100644 index 0000000..e5fb496 --- /dev/null +++ b/data/more_mobs/function/skeleton/pirate.mcfunction @@ -0,0 +1,17 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/38049-skeleton-pirate + +execute if score $loot ts.mm.settings matches 1..2 run data modify entity @s HandItems[1] set value {id:"minecraft:stone_sword",Count:1b} +function more_mobs:skeleton/pirate_loot + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Pirate","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"4f0b1853-2c80-4f94-b07c-96a7c1113be4",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNzk2NTdjMGQ0NTc3NDNkNDEwNTA5MTNmYTdkMmI0ZjRmNzFkZTgxZTNlMGU5NDM1MjE2ZjQ2NDk5MGFhNjUzMiJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Pirate","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;1326127187,746606484,-1334012249,-1055835164],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNzk2NTdjMGQ0NTc3NDNkNDEwNTA5MTNmYTdkMmI0ZjRmNzFkZTgxZTNlMGU5NDM1MjE2ZjQ2NDk5MGFhNjUzMiJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.generic.swim"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"text":"Pirate","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]',"minecraft:profile":{id:[I;1326127187,746606484,-1334012249,-1055835164],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNzk2NTdjMGQ0NTc3NDNkNDEwNTA5MTNmYTdkMmI0ZjRmNzFkZTgxZTNlMGU5NDM1MjE2ZjQ2NDk5MGFhNjUzMiJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.generic.swim","minecraft:custom_data":{ts.mm.custom:1b}}} + +tag @s add ts.mm.pirate_skeleton +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/skeleton/pirate_loot.mcfunction b/data/more_mobs/function/skeleton/pirate_loot.mcfunction new file mode 100644 index 0000000..1a180f7 --- /dev/null +++ b/data/more_mobs/function/skeleton/pirate_loot.mcfunction @@ -0,0 +1,4 @@ +## by Tschipcraft +# Gives the pirate shipwreck_supply loot (seperated for backwards compatibility) + +execute if score $loot ts.mm.settings matches 1..2 run loot replace entity @s weapon.offhand loot minecraft:chests/shipwreck_supply diff --git a/data/more_mobs/function/skeleton/radioactive.mcfunction b/data/more_mobs/function/skeleton/radioactive.mcfunction new file mode 100644 index 0000000..7d01e91 --- /dev/null +++ b/data/more_mobs/function/skeleton/radioactive.mcfunction @@ -0,0 +1,15 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/8496-skeleton-skull + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Acidic","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"d89c0ffc-1ca2-441f-adf3-5cd33fdd8c44",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYjQ3MzkwMzFmMjFiM2ExNDFjN2MzNDE2ZGUwZDdiMjk3OWFjNzVhOTI1ZTQzOWM2YmIwN2JiMTkwNjY3NTdmIn19fQ=="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Acidic","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;-660860932,480396319,-1376559917,1071483972],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYjQ3MzkwMzFmMjFiM2ExNDFjN2MzNDE2ZGUwZDdiMjk3OWFjNzVhOTI1ZTQzOWM2YmIwN2JiMTkwNjY3NTdmIn19fQ=="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.skeleton.ambient"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"text":"Acidic","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]',"minecraft:profile":{id:[I;-660860932,480396319,-1376559917,1071483972],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYjQ3MzkwMzFmMjFiM2ExNDFjN2MzNDE2ZGUwZDdiMjk3OWFjNzVhOTI1ZTQzOWM2YmIwN2JiMTkwNjY3NTdmIn19fQ=="}]},"minecraft:note_block_sound":"minecraft:entity.skeleton.ambient","minecraft:custom_data":{ts.mm.custom:1b}}} + +execute if score $loot ts.mm.settings matches 1..2 run data modify entity @s HandItems[0] set value {id:"minecraft:wooden_sword",Count:1b} +tag @s add ts.mm.acid +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/skeleton/rotting.mcfunction b/data/more_mobs/function/skeleton/rotting.mcfunction new file mode 100644 index 0000000..73f7bc4 --- /dev/null +++ b/data/more_mobs/function/skeleton/rotting.mcfunction @@ -0,0 +1,15 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/4004-rotting-skeleton-8 + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Rotting","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"d91da3b0-d4f0-4a89-a72a-4211bc19760f",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNDRkMDZjYzkyOTYxYTU4ZGM5MjQ2MWIxNDZlZDU2ZDJlOGI2YWQ0YmYyNTE4MzQyNGIzYjEyYzgyOWQ2MzkxIn19fQ=="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Rotting","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;-652368976,-722449783,-1490402799,-1139182065],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNDRkMDZjYzkyOTYxYTU4ZGM5MjQ2MWIxNDZlZDU2ZDJlOGI2YWQ0YmYyNTE4MzQyNGIzYjEyYzgyOWQ2MzkxIn19fQ=="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.skeleton.ambient"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"text":"Rotting","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]',"minecraft:profile":{id:[I;-652368976,-722449783,-1490402799,-1139182065],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNDRkMDZjYzkyOTYxYTU4ZGM5MjQ2MWIxNDZlZDU2ZDJlOGI2YWQ0YmYyNTE4MzQyNGIzYjEyYzgyOWQ2MzkxIn19fQ=="}]},"minecraft:note_block_sound":"minecraft:entity.skeleton.ambient","minecraft:custom_data":{ts.mm.custom:1b}}} + +data modify entity @s HandItems[0] set value {id:"minecraft:stick",Count:1b} +tag @s add ts.mm.rotting +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/skeleton/sea.mcfunction b/data/more_mobs/function/skeleton/sea.mcfunction new file mode 100644 index 0000000..cb56647 --- /dev/null +++ b/data/more_mobs/function/skeleton/sea.mcfunction @@ -0,0 +1,14 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/45501-sea-skeleton - unused + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Sea","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"db208aef-18a3-4161-8e70-c2852685fa91",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMzliNjQyYmQ0Njg4ZDkyYTUzNjQ3MmRjZmM1YTMzYzE3YmJjNzM5NzdiZjcyMWUyOWU0ZTg3ODQzMWY2MzBmMSJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Sea","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;-618624273,413352289,-1905212795,646314641],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMzliNjQyYmQ0Njg4ZDkyYTUzNjQ3MmRjZmM1YTMzYzE3YmJjNzM5NzdiZjcyMWUyOWU0ZTg3ODQzMWY2MzBmMSJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.skeleton.ambient"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"text":"Sea","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]',"minecraft:profile":{id:[I;-618624273,413352289,-1905212795,646314641],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMzliNjQyYmQ0Njg4ZDkyYTUzNjQ3MmRjZmM1YTMzYzE3YmJjNzM5NzdiZjcyMWUyOWU0ZTg3ODQzMWY2MzBmMSJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.skeleton.ambient","minecraft:custom_data":{ts.mm.custom:1b}}} + +tag @s add ts.mm.sea_skeleton +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/skeleton/snowy.mcfunction b/data/more_mobs/function/skeleton/snowy.mcfunction new file mode 100644 index 0000000..fffa897 --- /dev/null +++ b/data/more_mobs/function/skeleton/snowy.mcfunction @@ -0,0 +1,14 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/41295-snowy-skeleton + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Snowy","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"e3408683-0dda-48b2-abde-63dc017bf5b3",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvY2E3ZWZkNmIxMzY4NmQ0M2VmZDEyN2JhMjU0NjM0NDk3MDY2ODFiNTAzYmQ2YWM0YTJmNzI0YzkxNDVhNjBlZCJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Snowy","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;-482310525,232409266,-1411488804,24901043],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvY2E3ZWZkNmIxMzY4NmQ0M2VmZDEyN2JhMjU0NjM0NDk3MDY2ODFiNTAzYmQ2YWM0YTJmNzI0YzkxNDVhNjBlZCJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.skeleton.ambient"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"text":"Snowy","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]',"minecraft:profile":{id:[I;-482310525,232409266,-1411488804,24901043],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvY2E3ZWZkNmIxMzY4NmQ0M2VmZDEyN2JhMjU0NjM0NDk3MDY2ODFiNTAzYmQ2YWM0YTJmNzI0YzkxNDVhNjBlZCJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.skeleton.ambient","minecraft:custom_data":{ts.mm.custom:1b}}} + +tag @s add ts.mm.snowy +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/skeleton/sunken/loot.mcfunction b/data/more_mobs/function/skeleton/sunken/loot.mcfunction new file mode 100644 index 0000000..0927930 --- /dev/null +++ b/data/more_mobs/function/skeleton/sunken/loot.mcfunction @@ -0,0 +1,3 @@ +##by Tschipcraft + +execute if score $loot ts.mm.settings matches 1..2 run loot replace entity @s weapon.offhand loot minecraft:gameplay/fishing/junk diff --git a/data/more_mobs/function/skeleton/sunken/sunken_1.mcfunction b/data/more_mobs/function/skeleton/sunken/sunken_1.mcfunction new file mode 100644 index 0000000..5591e9f --- /dev/null +++ b/data/more_mobs/function/skeleton/sunken/sunken_1.mcfunction @@ -0,0 +1,16 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/49792-sunken-skeleton + +function more_mobs:skeleton/sunken/loot + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"biome.minecraft.lukewarm_ocean","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"72e2762f-6005-4fb0-9d73-22edac851bba",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMmMyZDc0NWRjNjk5NzllNzVkOWM5ZmMwNDVhZDBmN2YzMDY0NTVmNWMzODU4MzhjMmNiZjc0MmM4MGNiMDIxYyJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"biome.minecraft.lukewarm_ocean","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;1927444015,1610960816,-1653398803,-1400562758],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMmMyZDc0NWRjNjk5NzllNzVkOWM5ZmMwNDVhZDBmN2YzMDY0NTVmNWMzODU4MzhjMmNiZjc0MmM4MGNiMDIxYyJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.generic.swim"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"translate":"biome.minecraft.lukewarm_ocean","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]',"minecraft:profile":{id:[I;1927444015,1610960816,-1653398803,-1400562758],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMmMyZDc0NWRjNjk5NzllNzVkOWM5ZmMwNDVhZDBmN2YzMDY0NTVmNWMzODU4MzhjMmNiZjc0MmM4MGNiMDIxYyJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.generic.swim","minecraft:custom_data":{ts.mm.custom:1b}}} + +tag @s add ts.mm.sunken +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/skeleton/sunken/sunken_2.mcfunction b/data/more_mobs/function/skeleton/sunken/sunken_2.mcfunction new file mode 100644 index 0000000..9b8b9f5 --- /dev/null +++ b/data/more_mobs/function/skeleton/sunken/sunken_2.mcfunction @@ -0,0 +1,16 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/49791-sunken-skeleton + +function more_mobs:skeleton/sunken/loot + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"biome.minecraft.lukewarm_ocean","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"6360e4b1-c4a6-45d1-860b-0d27dc358332",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNzRiZjUzMjEwNTZjZDdjMDY3MmRlZGQzZTI0ZjRiMGIxNzFkYjI1ZmM0NTFjNGFlMGJjODAzNmJlMGRiZDI2MiJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"biome.minecraft.lukewarm_ocean","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;1667294385,-995736111,-2046096089,-600472782],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNzRiZjUzMjEwNTZjZDdjMDY3MmRlZGQzZTI0ZjRiMGIxNzFkYjI1ZmM0NTFjNGFlMGJjODAzNmJlMGRiZDI2MiJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.generic.swim"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"translate":"biome.minecraft.lukewarm_ocean","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]',"minecraft:profile":{id:[I;1667294385,-995736111,-2046096089,-600472782],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNzRiZjUzMjEwNTZjZDdjMDY3MmRlZGQzZTI0ZjRiMGIxNzFkYjI1ZmM0NTFjNGFlMGJjODAzNmJlMGRiZDI2MiJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.generic.swim","minecraft:custom_data":{ts.mm.custom:1b}}} + +tag @s add ts.mm.sunken +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/skeleton/sunken/sunken_3.mcfunction b/data/more_mobs/function/skeleton/sunken/sunken_3.mcfunction new file mode 100644 index 0000000..9c77cbb --- /dev/null +++ b/data/more_mobs/function/skeleton/sunken/sunken_3.mcfunction @@ -0,0 +1,16 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/49790-sunken-skeleton + +function more_mobs:skeleton/sunken/loot + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"biome.minecraft.lukewarm_ocean","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"5646d92d-736a-44db-aa43-1a34956518d1",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMmY0ZDhjNTg0NmQ0Y2ZkOGM1ZDE3ZTBhYjBiMDY2NDQxYmRiOGFlMTllNDlkMDkxYWNiYTRlZWI4ZjUyYjlmMCJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"biome.minecraft.lukewarm_ocean","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;1447483693,1936344283,-1438442956,-1788536623],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMmY0ZDhjNTg0NmQ0Y2ZkOGM1ZDE3ZTBhYjBiMDY2NDQxYmRiOGFlMTllNDlkMDkxYWNiYTRlZWI4ZjUyYjlmMCJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.generic.swim"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"translate":"biome.minecraft.lukewarm_ocean","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]',"minecraft:profile":{id:[I;1447483693,1936344283,-1438442956,-1788536623],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMmY0ZDhjNTg0NmQ0Y2ZkOGM1ZDE3ZTBhYjBiMDY2NDQxYmRiOGFlMTllNDlkMDkxYWNiYTRlZWI4ZjUyYjlmMCJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.generic.swim","minecraft:custom_data":{ts.mm.custom:1b}}} + +tag @s add ts.mm.sunken +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/skeleton/sunken/sunken_4.mcfunction b/data/more_mobs/function/skeleton/sunken/sunken_4.mcfunction new file mode 100644 index 0000000..e4a1f21 --- /dev/null +++ b/data/more_mobs/function/skeleton/sunken/sunken_4.mcfunction @@ -0,0 +1,16 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/47286-sunken-skeleton + +function more_mobs:skeleton/sunken/loot + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"biome.minecraft.ocean","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"d1df0138-7487-452c-9c93-0fb96bea4280",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMWU4NTdjOTQ0ZTBhYjJhMjU0NTgwOGY0NzBhOGIyNjI4MDhmNDk3ZTkzZTYyODljMzRkOWE5YzRiOWNhNDliMiJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"biome.minecraft.ocean","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;-773914312,1955022124,-1668083783,1810514560],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMWU4NTdjOTQ0ZTBhYjJhMjU0NTgwOGY0NzBhOGIyNjI4MDhmNDk3ZTkzZTYyODljMzRkOWE5YzRiOWNhNDliMiJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.generic.swim"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"translate":"biome.minecraft.ocean","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]',"minecraft:profile":{id:[I;-773914312,1955022124,-1668083783,1810514560],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMWU4NTdjOTQ0ZTBhYjJhMjU0NTgwOGY0NzBhOGIyNjI4MDhmNDk3ZTkzZTYyODljMzRkOWE5YzRiOWNhNDliMiJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.generic.swim","minecraft:custom_data":{ts.mm.custom:1b}}} + +tag @s add ts.mm.sunken +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/skeleton/warped.mcfunction b/data/more_mobs/function/skeleton/warped.mcfunction new file mode 100644 index 0000000..7b56d17 --- /dev/null +++ b/data/more_mobs/function/skeleton/warped.mcfunction @@ -0,0 +1,15 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/38879-warped-fungus-skeleton + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Warped Fungus","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"53d4072a-77c1-4610-9a67-69311dc77832",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMWFhYzRkMWVhYmI3MGE0ODc3MTc3YWQzNzlmYjJiOWU0NjU3NTc5MWNhMTBmOWY0NDBkNTVjYjMxODkxZjc3ZCJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"block.minecraft.warped_fungus","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;1406404394,2009155088,-1704498895,499611698],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMWFhYzRkMWVhYmI3MGE0ODc3MTc3YWQzNzlmYjJiOWU0NjU3NTc5MWNhMTBmOWY0NDBkNTVjYjMxODkxZjc3ZCJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.strider.ambient"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"translate":"block.minecraft.warped_fungus","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]',"minecraft:profile":{id:[I;1406404394,2009155088,-1704498895,499611698],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMWFhYzRkMWVhYmI3MGE0ODc3MTc3YWQzNzlmYjJiOWU0NjU3NTc5MWNhMTBmOWY0NDBkNTVjYjMxODkxZjc3ZCJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.strider.ambient","minecraft:custom_data":{ts.mm.custom:1b}}} + +execute if score $loot ts.mm.settings matches 1..2 run data modify entity @s HandItems[1] set value {id:"minecraft:warped_fungus_on_a_stick",Count:1b} +tag @s add ts.mm.warped +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/skeleton/zombie.mcfunction b/data/more_mobs/function/skeleton/zombie.mcfunction new file mode 100644 index 0000000..0089ad2 --- /dev/null +++ b/data/more_mobs/function/skeleton/zombie.mcfunction @@ -0,0 +1,15 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/41292-skeleton-zombie + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"entity.minecraft.zombie","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"df233cdb-06a0-4e00-aded-23b67fc6cdaa",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvY2UyZmJhZWYzMzFlOTA1ZDRiMmM1ZTY5MzVkZWY5NGM4ZTRjMzJlY2EwMzE3ZDE0M2E0NDExOTNhZThmODI0ZSJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"entity.minecraft.zombie","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;-551338789,111169024,-1376967754,2143735210],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvY2UyZmJhZWYzMzFlOTA1ZDRiMmM1ZTY5MzVkZWY5NGM4ZTRjMzJlY2EwMzE3ZDE0M2E0NDExOTNhZThmODI0ZSJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.zombie.ambient"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"translate":"entity.minecraft.zombie","italic":false},{"text":" "},{"translate":"block.minecraft.skeleton_skull","italic":false}]',"minecraft:profile":{id:[I;-551338789,111169024,-1376967754,2143735210],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvY2UyZmJhZWYzMzFlOTA1ZDRiMmM1ZTY5MzVkZWY5NGM4ZTRjMzJlY2EwMzE3ZDE0M2E0NDExOTNhZThmODI0ZSJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.zombie.ambient","minecraft:custom_data":{ts.mm.custom:1b}}} + +execute if score $loot ts.mm.settings matches 1..2 run data modify entity @s HandItems[0] set value {id:"minecraft:wooden_axe",Count:1b} +tag @s add ts.mm.zombie +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/spider/inair.mcfunction b/data/more_mobs/function/spider/inair.mcfunction new file mode 100644 index 0000000..d3c3ed9 --- /dev/null +++ b/data/more_mobs/function/spider/inair.mcfunction @@ -0,0 +1,6 @@ +## by Tschipcraft + +tag @s remove ts.mm.s_onceiling +# TODO: Replace with data remove in future versions when https://bugs.mojang.com/browse/MC-128225 is fixed +execute if score $global ts.mm.version matches ..3678 run data merge entity @s {CustomNameVisible:0b,CustomName:""} +team leave @s diff --git a/data/more_mobs/function/spider/main.mcfunction b/data/more_mobs/function/spider/main.mcfunction new file mode 100644 index 0000000..3a6e839 --- /dev/null +++ b/data/more_mobs/function/spider/main.mcfunction @@ -0,0 +1,11 @@ +##by Tschipcraft + +execute store success score @s ts.mm.nt_test run data get entity @s CustomName + +# Spider +execute as @s[type=minecraft:spider,tag=!ts.mm.s_onceiling,scores={ts.mm.nt_test=0}] if block ~ ~-0.1 ~ #more_mobs:air unless block ~ ~0.9 ~ #more_mobs:nonsolid run function more_mobs:spider/onceiling +execute as @s[type=minecraft:spider,tag=ts.mm.s_onceiling] if block ~ ~0.9 ~ #more_mobs:nonsolid run function more_mobs:spider/inair + +# Cave Spider +execute as @s[type=minecraft:cave_spider,tag=!ts.mm.s_onceiling,scores={ts.mm.nt_test=0}] if block ~ ~-0.1 ~ #more_mobs:air unless block ~ ~0.5 ~ #more_mobs:nonsolid run function more_mobs:spider/onceiling +execute as @s[type=minecraft:cave_spider,tag=ts.mm.s_onceiling] if block ~ ~0.5 ~ #more_mobs:nonsolid run function more_mobs:spider/inair diff --git a/data/more_mobs/function/spider/onceiling.mcfunction b/data/more_mobs/function/spider/onceiling.mcfunction new file mode 100644 index 0000000..2509f1a --- /dev/null +++ b/data/more_mobs/function/spider/onceiling.mcfunction @@ -0,0 +1,5 @@ +## by Tschipcraft + +tag @s add ts.mm.s_onceiling +data merge entity @s {CustomNameVisible:0b,CustomName:'{"text":"Grumm","color":"black","obfuscated":true}'} +team join ts.mm.nonametag @s diff --git a/data/more_mobs/function/stray/creepy.mcfunction b/data/more_mobs/function/stray/creepy.mcfunction new file mode 100644 index 0000000..7f1f4c9 --- /dev/null +++ b/data/more_mobs/function/stray/creepy.mcfunction @@ -0,0 +1,14 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/42955-stray + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Alternate ","italic":false},{"translate":"entity.minecraft.stray","italic":false},{"text":" "},{"text":"Skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"6edab475-a023-4619-8cf8-5ac47205b8e4",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNjU3Mjc0N2E2MzlkMjI0MGZlZWFlNWM4MWM2ODc0ZTZlZTc1NDdiNTk5ZTc0NTQ2NDkwZGM3NWZhMjA4OTE4NiJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Alternate ","italic":false},{"translate":"entity.minecraft.stray","italic":false},{"text":" "},{"text":"Skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;1859826805,-1608301031,-1929880892,1912977636],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNjU3Mjc0N2E2MzlkMjI0MGZlZWFlNWM4MWM2ODc0ZTZlZTc1NDdiNTk5ZTc0NTQ2NDkwZGM3NWZhMjA4OTE4NiJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.stray.step"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"text":"Alternate ","italic":false},{"translate":"entity.minecraft.stray","italic":false},{"text":" "},{"text":"Skull","italic":false}]',"minecraft:profile":{id:[I;1859826805,-1608301031,-1929880892,1912977636],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNjU3Mjc0N2E2MzlkMjI0MGZlZWFlNWM4MWM2ODc0ZTZlZTc1NDdiNTk5ZTc0NTQ2NDkwZGM3NWZhMjA4OTE4NiJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.stray.step","minecraft:custom_data":{ts.mm.custom:1b}}} + +tag @s add ts.mm.creepy +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/stray/deepd.mcfunction b/data/more_mobs/function/stray/deepd.mcfunction new file mode 100644 index 0000000..b08d182 --- /dev/null +++ b/data/more_mobs/function/stray/deepd.mcfunction @@ -0,0 +1,14 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/52047-sculk-tribesman + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Sculk","italic":false},{"text":" "},{"text":"Tribesman Skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"0b297e87-9d85-4fa4-b433-46490d892b9d",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMmJlNTRiNzY4ZjRmNWVlMDljMDViZGE1NzFkNDkwZmZmMmNiZDQ0MDMyYWI0YWU4YWE2NTcwOTk4Mzk3MDYzMSJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"block.minecraft.sculk","italic":false},{"text":" "},{"text":"Tribesman Skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;187268743,-1652207708,-1271708087,227093405],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMmJlNTRiNzY4ZjRmNWVlMDljMDViZGE1NzFkNDkwZmZmMmNiZDQ0MDMyYWI0YWU4YWE2NTcwOTk4Mzk3MDYzMSJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:block.sculk_catalyst.bloom"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"translate":"block.minecraft.sculk","italic":false},{"text":" "},{"text":"Tribesman Skull","italic":false}]',"minecraft:profile":{id:[I;187268743,-1652207708,-1271708087,227093405],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMmJlNTRiNzY4ZjRmNWVlMDljMDViZGE1NzFkNDkwZmZmMmNiZDQ0MDMyYWI0YWU4YWE2NTcwOTk4Mzk3MDYzMSJ9fX0="}]},"minecraft:note_block_sound":"minecraft:block.sculk_catalyst.bloom","minecraft:custom_data":{ts.mm.custom:1b}}} + +tag @s add ts.mm.deepd +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/stray/queen.mcfunction b/data/more_mobs/function/stray/queen.mcfunction new file mode 100644 index 0000000..b170373 --- /dev/null +++ b/data/more_mobs/function/stray/queen.mcfunction @@ -0,0 +1,15 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/41440-stray-queen + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Queen "},{"translate":"entity.minecraft.stray","italic":false},{"text":" "},{"text":"Skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"225de620-7ec9-4b4e-8ced-caa0b33776cb",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMTcwOTkxYjU1MjVmNjBjYWIxZDk3NTUwOWQzZjk2OTYzNGEyYWZjYzA3ZWQzMTEwMTBhNjA3OGRkZTQ1MmU2ZCJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Queen "},{"translate":"entity.minecraft.stray","italic":false},{"text":" "},{"text":"Skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;576579104,2127121230,-1930573152,-1288210741],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMTcwOTkxYjU1MjVmNjBjYWIxZDk3NTUwOWQzZjk2OTYzNGEyYWZjYzA3ZWQzMTEwMTBhNjA3OGRkZTQ1MmU2ZCJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.stray.ambient"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"text":"Queen "},{"translate":"entity.minecraft.stray","italic":false},{"text":" "},{"text":"Skull","italic":false}]',"minecraft:profile":{id:[I;576579104,2127121230,-1930573152,-1288210741],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMTcwOTkxYjU1MjVmNjBjYWIxZDk3NTUwOWQzZjk2OTYzNGEyYWZjYzA3ZWQzMTEwMTBhNjA3OGRkZTQ1MmU2ZCJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.stray.ambient","minecraft:custom_data":{ts.mm.custom:1b}}} + +execute if score $loot ts.mm.settings matches 1..2 run data modify entity @s HandItems[0] set value {id:"minecraft:iron_sword",Count:1b} +tag @s add ts.mm.queen +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/uninstall.mcfunction b/data/more_mobs/function/uninstall.mcfunction new file mode 100644 index 0000000..8635e41 --- /dev/null +++ b/data/more_mobs/function/uninstall.mcfunction @@ -0,0 +1,35 @@ +## by Tschipcraft + +# Reset custom player heads +function more_mobs:reset_heads +# Reset spiders +execute as @e[type=#more_mobs:spider,tag=ts.mm.s_onceiling] run function more_mobs:spider/inair + +scoreboard objectives remove ts.mm.ran1 +scoreboard objectives remove ts.mm.ran2 +scoreboard objectives remove ts.mm.ran3 +scoreboard objectives remove ts.mm.ran4 +scoreboard objectives remove ts.mm.ran5 +scoreboard objectives remove ts.mm.random + +scoreboard objectives remove ts.mm.nt_test + +scoreboard objectives remove ts.mm.welcome +scoreboard objectives remove tschipcraft.menu + +scoreboard objectives remove ts.mm.version +scoreboard objectives remove tvc_ignore + +# Settings +scoreboard objectives remove ts.mm.settings + +# Team +team remove ts.mm.nonametag + +# Finalize +datapack disable "file/more_mobs" +datapack disable "file/more_mobs.zip" +datapack disable "mod:moremobs" +datapack disable "file/${file_name}" + +say ⏻ More Mobs ${version} by Tschipcraft successfully uninstalled! [Initiated by @s] diff --git a/data/more_mobs/function/uninstall_old.mcfunction b/data/more_mobs/function/uninstall_old.mcfunction new file mode 100644 index 0000000..8925b93 --- /dev/null +++ b/data/more_mobs/function/uninstall_old.mcfunction @@ -0,0 +1,20 @@ +##by Tschipcraft + +scoreboard objectives remove ran1 +scoreboard objectives remove ran2 +scoreboard objectives remove ran3 +scoreboard objectives remove ran4 +scoreboard objectives remove ran5 +scoreboard objectives remove random + +scoreboard objectives remove mm_install +scoreboard objectives remove menu +scoreboard objectives remove spa_a_test + +scoreboard objectives remove mm_version + +# Settings +scoreboard objectives remove mm_settings + +# Team +team remove mm_nonametag diff --git a/data/more_mobs/function/version_checker.mcfunction b/data/more_mobs/function/version_checker.mcfunction new file mode 100644 index 0000000..2d8d694 --- /dev/null +++ b/data/more_mobs/function/version_checker.mcfunction @@ -0,0 +1,15 @@ +##by Tschipcraft + +scoreboard objectives add ts.mm.version dummy +execute store result score $global ts.mm.version run data get entity @r DataVersion +execute unless score $global tvc_ignore matches 1 if score $global ts.mm.version matches 3900.. run tellraw @a [{"text":"[More Mobs] ","color":"gray"},{"text":"?","bold":true,"color":"gold"},{"text":" Minecraft version 1.21 or above detected! This data pack/mod may not work correctly anymore! Please make sure to check for updates in the tschipcraft.menu! (","color":"gold"},{"text":"/trigger tschipcraft.menu","underlined":true,"color":"gold","clickEvent":{"action":"run_command","value":"/trigger tschipcraft.menu"},"hoverEvent":{"action":"show_text","contents":"Click here"}},{"text":")","color":"gold"}] +#execute if score $global ts.mm.version matches 2976..3218 run say 1.19 detected! +#execute if score $global ts.mm.version matches 2731..2975 run say 1.18 detected! +#execute if score $global ts.mm.version matches 2587..2730 run say 1.17 detected! +#execute if score $global ts.mm.version matches 2231..2586 run say 1.16 detected! +#execute if score $global ts.mm.version matches 1977..2230 run say 1.15 detected! +#execute if score $global ts.mm.version matches 1632..1976 run say 1.14 detected! +execute if score $global ts.mm.version matches 1632..1932 run tellraw @a [{"text":"[More Mobs] ","color":"gray"},{"text":"\u26a0 Minecraft snapshot before ","color":"red"},{"text":"19w08a","color":"red","bold": true},{"text":" detected! This pack does not work before this snapshot! Please use ","color":"red"},{"text": "19w08a or above", "color":"red","underlined":true},{"text":"!","color":"red"}] +execute if score $global ts.mm.version matches 1344..1631 run tellraw @a [{"text":"[More Mobs] ","color":"gray"},{"text":"\u26a0 Minecraft version ","color":"red"},{"text":"1.13","color":"red","bold": true},{"text":" detected! This pack does not work in 1.13! Please use ","color":"red"},{"text": "1.14 or above", "color":"red","underlined":true},{"text":"!","color":"red"}] + +execute unless score $global ts.mm.version matches 1.. run function more_mobs:version_checker/try_again diff --git a/data/more_mobs/function/version_checker/try_again.mcfunction b/data/more_mobs/function/version_checker/try_again.mcfunction new file mode 100644 index 0000000..7483fbb --- /dev/null +++ b/data/more_mobs/function/version_checker/try_again.mcfunction @@ -0,0 +1,3 @@ +##by Tschipcraft + +schedule function more_mobs:version_checker 1s diff --git a/data/more_mobs/function/vindicator/dead.mcfunction b/data/more_mobs/function/vindicator/dead.mcfunction new file mode 100644 index 0000000..1f0f5eb --- /dev/null +++ b/data/more_mobs/function/vindicator/dead.mcfunction @@ -0,0 +1,14 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/23878-dead-vindicator + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"subtitles.entity.generic.death","italic":false},{"text":" "},{"translate":"entity.minecraft.pillager","italic":false},{"text":" Head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"ddac5f36-006e-47c5-84b5-3a1d029b831a",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNzVlMWRlOGJjM2M1Y2IyMGU4NTdlMzhmNDM1YjkyZThjMDI0MDBhYmJhZjJlMTlmODMzNzdmOTY2ZmNiZjZhIn19fQ=="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"subtitles.entity.generic.death","italic":false},{"text":" "},{"translate":"entity.minecraft.pillager","italic":false},{"text":" Head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;-575905994,7227333,-2068497891,43746074],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNzVlMWRlOGJjM2M1Y2IyMGU4NTdlMzhmNDM1YjkyZThjMDI0MDBhYmJhZjJlMTlmODMzNzdmOTY2ZmNiZjZhIn19fQ=="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.vindicator.ambient"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"translate":"subtitles.entity.generic.death","italic":false},{"text":" "},{"translate":"entity.minecraft.pillager","italic":false},{"text":" Head","italic":false}]',"minecraft:profile":{id:[I;-575905994,7227333,-2068497891,43746074],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNzVlMWRlOGJjM2M1Y2IyMGU4NTdlMzhmNDM1YjkyZThjMDI0MDBhYmJhZjJlMTlmODMzNzdmOTY2ZmNiZjZhIn19fQ=="}]},"minecraft:note_block_sound":"minecraft:entity.vindicator.ambient","minecraft:custom_data":{ts.mm.custom:1b}}} + +tag @s add ts.mm.dead +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/vindicator/injured.mcfunction b/data/more_mobs/function/vindicator/injured.mcfunction new file mode 100644 index 0000000..d2d6675 --- /dev/null +++ b/data/more_mobs/function/vindicator/injured.mcfunction @@ -0,0 +1,14 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/23875-dead-vindicator + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Injured","italic":false},{"text":" "},{"translate":"entity.minecraft.pillager","italic":false},{"text":" Head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"d8749ed7-9e42-414e-8f79-1e83ec2256ac",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYzAyMmIxNjUxMmVmNmY2YjcyZGNmOTZjM2FjZGU2M2EwMzI3NmU0NjliZjMxYzhjZjg4MTYzZGY3NjZlOTE4MyJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Injured","italic":false},{"text":" "},{"translate":"entity.minecraft.pillager","italic":false},{"text":" Head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;-663445801,-1639825074,-1887887741,-333293908],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYzAyMmIxNjUxMmVmNmY2YjcyZGNmOTZjM2FjZGU2M2EwMzI3NmU0NjliZjMxYzhjZjg4MTYzZGY3NjZlOTE4MyJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.vindicator.ambient"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"text":"Injured","italic":false},{"text":" "},{"translate":"entity.minecraft.pillager","italic":false},{"text":" Head","italic":false}]',"minecraft:profile":{id:[I;-663445801,-1639825074,-1887887741,-333293908],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYzAyMmIxNjUxMmVmNmY2YjcyZGNmOTZjM2FjZGU2M2EwMzI3NmU0NjliZjMxYzhjZjg4MTYzZGY3NjZlOTE4MyJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.vindicator.ambient","minecraft:custom_data":{ts.mm.custom:1b}}} + +tag @s add ts.mm.injured +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/wither_skeleton/acid.mcfunction b/data/more_mobs/function/wither_skeleton/acid.mcfunction new file mode 100644 index 0000000..8f7a102 --- /dev/null +++ b/data/more_mobs/function/wither_skeleton/acid.mcfunction @@ -0,0 +1,14 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/53254-wither-autonoma + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Acidic","italic":false},{"text":" "},{"translate":"block.minecraft.wither_skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"07854cd9-64ff-4e9c-bde5-d5347e6d0916",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNGQ4OGU2ZjcxYmJlNmYwM2MwNTU4ZWRjZDhmZTFkYjA5OTUyYzkxOTYzYTZjYmI4MzRhM2FkMTNkMDU0NDY4MCJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Acidic","italic":false},{"text":" "},{"translate":"block.minecraft.wither_skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;126176473,1694453404,-1109011148,2121074966],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNGQ4OGU2ZjcxYmJlNmYwM2MwNTU4ZWRjZDhmZTFkYjA5OTUyYzkxOTYzYTZjYmI4MzRhM2FkMTNkMDU0NDY4MCJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.slime.squish_small"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"text":"Acidic","italic":false},{"text":" "},{"translate":"block.minecraft.wither_skeleton_skull","italic":false}]',"minecraft:profile":{id:[I;126176473,1694453404,-1109011148,2121074966],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNGQ4OGU2ZjcxYmJlNmYwM2MwNTU4ZWRjZDhmZTFkYjA5OTUyYzkxOTYzYTZjYmI4MzRhM2FkMTNkMDU0NDY4MCJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.slime.squish_small","minecraft:custom_data":{ts.mm.custom:1b}}} + +tag @s add ts.mm.acid +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/wither_skeleton/burned.mcfunction b/data/more_mobs/function/wither_skeleton/burned.mcfunction new file mode 100644 index 0000000..233a758 --- /dev/null +++ b/data/more_mobs/function/wither_skeleton/burned.mcfunction @@ -0,0 +1,14 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/decoration/33904-skeleton-skull-burned + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Burned","italic":false},{"text":" "},{"translate":"block.minecraft.wither_skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"95e7a0e0-1219-41ee-964c-59f324034780",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvM2UxZTFlODJiZjQzNzhhN2IxMzkyMjliNTYxYzhmMDExOWJmNTY1NTEyODAxNGQzYzU0MzlkODk4MzAzZjFiMCJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Burned","italic":false},{"text":" "},{"translate":"block.minecraft.wither_skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;-1779982112,303645166,-1773381133,604194688],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvM2UxZTFlODJiZjQzNzhhN2IxMzkyMjliNTYxYzhmMDExOWJmNTY1NTEyODAxNGQzYzU0MzlkODk4MzAzZjFiMCJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:block.fire.extinguish"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"text":"Burned","italic":false},{"text":" "},{"translate":"block.minecraft.wither_skeleton_skull","italic":false}]',"minecraft:profile":{id:[I;-1779982112,303645166,-1773381133,604194688],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvM2UxZTFlODJiZjQzNzhhN2IxMzkyMjliNTYxYzhmMDExOWJmNTY1NTEyODAxNGQzYzU0MzlkODk4MzAzZjFiMCJ9fX0="}]},"minecraft:note_block_sound":"minecraft:block.fire.extinguish","minecraft:custom_data":{ts.mm.custom:1b}}} + +tag @s add ts.mm.burned +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/wither_skeleton/burning.mcfunction b/data/more_mobs/function/wither_skeleton/burning.mcfunction new file mode 100644 index 0000000..61fe617 --- /dev/null +++ b/data/more_mobs/function/wither_skeleton/burning.mcfunction @@ -0,0 +1,16 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/53252-burning-wither-skeleton + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"subtitles.entity.generic.burn","italic":false},{"text":" "},{"translate":"block.minecraft.wither_skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"e307413e-a49b-4fd6-acae-554e80015efa",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOTFmNGY0ZGMzYjA5ODQ4MWQ4MTc1ZDg0ODkyYzE0NjM3ODU5YWNlNmI1MjQxN2Q0ZWRmZWRmNThlNmRiNTRmOSJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"subtitles.entity.generic.burn","italic":false},{"text":" "},{"translate":"block.minecraft.wither_skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;-486063810,-1533325354,-1397861042,-2147393798],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOTFmNGY0ZGMzYjA5ODQ4MWQ4MTc1ZDg0ODkyYzE0NjM3ODU5YWNlNmI1MjQxN2Q0ZWRmZWRmNThlNmRiNTRmOSJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:block.fire.ambient"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"translate":"subtitles.entity.generic.burn","italic":false},{"text":" "},{"translate":"block.minecraft.wither_skeleton_skull","italic":false}]',"minecraft:profile":{id:[I;-486063810,-1533325354,-1397861042,-2147393798],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOTFmNGY0ZGMzYjA5ODQ4MWQ4MTc1ZDg0ODkyYzE0NjM3ODU5YWNlNmI1MjQxN2Q0ZWRmZWRmNThlNmRiNTRmOSJ9fX0="}]},"minecraft:note_block_sound":"minecraft:block.fire.ambient","minecraft:custom_data":{ts.mm.custom:1b}}} + +execute if score $loot ts.mm.settings matches 1..2 run data modify entity @s HandItems[1] set value {id:"minecraft:fire_charge",Count:1b} +data merge entity @s {HasVisualFire:1} +tag @s add ts.mm.burning +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/wither_skeleton/crimson.mcfunction b/data/more_mobs/function/wither_skeleton/crimson.mcfunction new file mode 100644 index 0000000..efc051c --- /dev/null +++ b/data/more_mobs/function/wither_skeleton/crimson.mcfunction @@ -0,0 +1,14 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/53250-crimson-wither-skeleton + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Crimson","italic":false},{"text":" "},{"translate":"block.minecraft.wither_skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"7a161435-84e5-4673-90ff-d5d5c0103802",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvM2E1Nzc1ZWFiYmJmODFmOGE5ZTNmYjE0MGZiN2RjYjBlNjhjNWIyZDAyZTEwYjEwNDM1NjQxMjU0OTRmMWEyZiJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"biome.minecraft.crimson_forest","italic":false},{"text":" "},{"translate":"block.minecraft.wither_skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;2048267317,-2065349005,-1862281771,-1072678910],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvM2E1Nzc1ZWFiYmJmODFmOGE5ZTNmYjE0MGZiN2RjYjBlNjhjNWIyZDAyZTEwYjEwNDM1NjQxMjU0OTRmMWEyZiJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:ambient.crimson_forest.mood"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"translate":"biome.minecraft.crimson_forest","italic":false},{"text":" "},{"translate":"block.minecraft.wither_skeleton_skull","italic":false}]',"minecraft:profile":{id:[I;2048267317,-2065349005,-1862281771,-1072678910],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvM2E1Nzc1ZWFiYmJmODFmOGE5ZTNmYjE0MGZiN2RjYjBlNjhjNWIyZDAyZTEwYjEwNDM1NjQxMjU0OTRmMWEyZiJ9fX0="}]},"minecraft:note_block_sound":"minecraft:ambient.crimson_forest.mood","minecraft:custom_data":{ts.mm.custom:1b}}} + +tag @s add ts.mm.crimson +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/wither_skeleton/deepd.mcfunction b/data/more_mobs/function/wither_skeleton/deepd.mcfunction new file mode 100644 index 0000000..fbf262f --- /dev/null +++ b/data/more_mobs/function/wither_skeleton/deepd.mcfunction @@ -0,0 +1,14 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/monsters/53253-sculk-horror + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Deep Dark","italic":false},{"text":" "},{"translate":"entity.minecraft.wither_skeleton","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"726e210c-4f10-4e2c-9c0e-8d47278ce063",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvM2VkYmQ0NmNjNThjNTM4ODlmMGI1NWJlZGQ5ZWUzYjk5NzNjYzQ2Mzk4ZThlYTg0ODFiOTQ4ZmM4YWYyOGI4NyJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"biome.minecraft.deep_dark","italic":false},{"text":" "},{"translate":"entity.minecraft.wither_skeleton","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;1919820044,1326468652,-1676767929,663543907],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvM2VkYmQ0NmNjNThjNTM4ODlmMGI1NWJlZGQ5ZWUzYjk5NzNjYzQ2Mzk4ZThlYTg0ODFiOTQ4ZmM4YWYyOGI4NyJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:block.sculk_catalyst.bloom"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"translate":"biome.minecraft.deep_dark","italic":false},{"text":" "},{"translate":"entity.minecraft.wither_skeleton","italic":false}]',"minecraft:profile":{id:[I;1919820044,1326468652,-1676767929,663543907],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvM2VkYmQ0NmNjNThjNTM4ODlmMGI1NWJlZGQ5ZWUzYjk5NzNjYzQ2Mzk4ZThlYTg0ODFiOTQ4ZmM4YWYyOGI4NyJ9fX0="}]},"minecraft:note_block_sound":"minecraft:block.sculk_catalyst.bloom","minecraft:custom_data":{ts.mm.custom:1b}}} + +tag @s add ts.mm.deepd +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/wither_skeleton/demon.mcfunction b/data/more_mobs/function/wither_skeleton/demon.mcfunction new file mode 100644 index 0000000..4ae3a69 --- /dev/null +++ b/data/more_mobs/function/wither_skeleton/demon.mcfunction @@ -0,0 +1,14 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/50466-wither-skeleton-demon + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Horned","italic":false},{"text":" "},{"translate":"block.minecraft.wither_skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"59e86d94-9b10-4f8b-88a6-c8e7058794b1",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNzYxN2QwODhlNzdkMDg3Y2YxMGY1MWY2ZDczOGJmNjY5ZTdlMDg1NDE4ZmVjM2I4NTEwZGI3MmY5YzUzY2MxMiJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Horned","italic":false},{"text":" "},{"translate":"block.minecraft.wither_skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;1508404628,-1693429877,-2002335513,92771505],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNzYxN2QwODhlNzdkMDg3Y2YxMGY1MWY2ZDczOGJmNjY5ZTdlMDg1NDE4ZmVjM2I4NTEwZGI3MmY5YzUzY2MxMiJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.wither_skeleton.ambient"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"text":"Horned","italic":false},{"text":" "},{"translate":"block.minecraft.wither_skeleton_skull","italic":false}]',"minecraft:profile":{id:[I;1508404628,-1693429877,-2002335513,92771505],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNzYxN2QwODhlNzdkMDg3Y2YxMGY1MWY2ZDczOGJmNjY5ZTdlMDg1NDE4ZmVjM2I4NTEwZGI3MmY5YzUzY2MxMiJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.wither_skeleton.ambient","minecraft:custom_data":{ts.mm.custom:1b}}} + +tag @s add ts.mm.demon +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/wither_skeleton/goggles.mcfunction b/data/more_mobs/function/wither_skeleton/goggles.mcfunction new file mode 100644 index 0000000..03dcad5 --- /dev/null +++ b/data/more_mobs/function/wither_skeleton/goggles.mcfunction @@ -0,0 +1,16 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/32652-wither-skeleton + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"block.minecraft.wither_skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"c8bdc523-8ad9-4fd4-abd5-d7d35d542ce2",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYTA3ODk2ZDk0OGM4YTk0NmQ4MWZkN2U1MzQ2MmQ1OTkxMzZkMGU2MTk4ODUwZTEyMjUzNzk3ODAzZDA1MmY1YyJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"block.minecraft.wither_skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;-927087325,-1965469740,-1412048941,1565797602],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYTA3ODk2ZDk0OGM4YTk0NmQ4MWZkN2U1MzQ2MmQ1OTkxMzZkMGU2MTk4ODUwZTEyMjUzNzk3ODAzZDA1MmY1YyJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.wither_skeleton.ambient"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"translate":"block.minecraft.wither_skeleton_skull","italic":false}]',"minecraft:profile":{id:[I;-927087325,-1965469740,-1412048941,1565797602],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYTA3ODk2ZDk0OGM4YTk0NmQ4MWZkN2U1MzQ2MmQ1OTkxMzZkMGU2MTk4ODUwZTEyMjUzNzk3ODAzZDA1MmY1YyJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.wither_skeleton.ambient","minecraft:custom_data":{ts.mm.custom:1b}}} + +execute if score $global ts.mm.version matches ..3818 if score $val_loot ts.mm.settings matches 1..2 run data modify entity @s ArmorItems[2] set value {id:"minecraft:elytra",Count:1b,tag:{Damage:430}} +execute if score $global ts.mm.version matches 3819.. if score $val_loot ts.mm.settings matches 1..2 run data modify entity @s ArmorItems[2] set value {id:"minecraft:elytra",components:{"minecraft:damage":430}} +tag @s add ts.mm.goggles +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/wither_skeleton/king.mcfunction b/data/more_mobs/function/wither_skeleton/king.mcfunction new file mode 100644 index 0000000..23cf379 --- /dev/null +++ b/data/more_mobs/function/wither_skeleton/king.mcfunction @@ -0,0 +1,17 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/1520-wither-skeleton-king + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"King","italic":false},{"text":" "},{"translate":"block.minecraft.wither_skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"12377aa3-1d0c-4ce2-a2a6-8c993985ee72",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNjhjMDE2NWU5YjJkYmQ3OGRhYzkxMjc3ZTk3ZDlhMDI2NDhmMzA1OWUxMjZhNTk0MWE4NGQwNTQyOWNlIn19fQ=="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"King","italic":false},{"text":" "},{"translate":"block.minecraft.wither_skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;-1809615867,-1788393266,-1374867289,1156873692],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNjhjMDE2NWU5YjJkYmQ3OGRhYzkxMjc3ZTk3ZDlhMDI2NDhmMzA1OWUxMjZhNTk0MWE4NGQwNTQyOWNlIn19fQ=="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.wither_skeleton.ambient"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"text":"King","italic":false},{"text":" "},{"translate":"block.minecraft.wither_skeleton_skull","italic":false}]',"minecraft:profile":{id:[I;-1809615867,-1788393266,-1374867289,1156873692],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNjhjMDE2NWU5YjJkYmQ3OGRhYzkxMjc3ZTk3ZDlhMDI2NDhmMzA1OWUxMjZhNTk0MWE4NGQwNTQyOWNlIn19fQ=="}]},"minecraft:note_block_sound":"minecraft:entity.wither_skeleton.ambient","minecraft:custom_data":{ts.mm.custom:1b}}} + +execute if score $val_loot ts.mm.settings matches 1..2 run data modify entity @s HandItems[1] set value {id:"minecraft:totem_of_undying",Count:1b} +execute if score $global ts.mm.version matches ..3818 if score $val_loot ts.mm.settings matches 1..2 run data modify entity @s ArmorItems[2] set value {id:"minecraft:netherite_chestplate",Count:1b,tag:{Damage:590}} +execute if score $global ts.mm.version matches 3819.. if score $val_loot ts.mm.settings matches 1..2 run data modify entity @s ArmorItems[2] set value {id:"minecraft:netherite_chestplate",components:{"minecraft:damage":590}} +tag @s add ts.mm.king +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/wither_skeleton/magma_1.mcfunction b/data/more_mobs/function/wither_skeleton/magma_1.mcfunction new file mode 100644 index 0000000..b8265f8 --- /dev/null +++ b/data/more_mobs/function/wither_skeleton/magma_1.mcfunction @@ -0,0 +1,16 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/39460-wither-skeleton + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"block.minecraft.magma_block","italic":false},{"text":" "},{"translate":"block.minecraft.wither_skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"ab95d823-ba9f-4e52-a216-85adb0e4048c",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMTZjYTE0NWJhNDM1YjM3NWY3NjNmZjUzYjRjZTA0YjJhMGM4NzNlOGZmNTQ3ZThiMTRiMzkyZmRlNmZiZmQ5NCJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"block.minecraft.magma_block","italic":false},{"text":" "},{"translate":"block.minecraft.wither_skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;-1416243165,-1163964846,-1575582291,-1327233908],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMTZjYTE0NWJhNDM1YjM3NWY3NjNmZjUzYjRjZTA0YjJhMGM4NzNlOGZmNTQ3ZThiMTRiMzkyZmRlNmZiZmQ5NCJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:block.lava.pop"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"translate":"block.minecraft.magma_block","italic":false},{"text":" "},{"translate":"block.minecraft.wither_skeleton_skull","italic":false}]',"minecraft:profile":{id:[I;-1416243165,-1163964846,-1575582291,-1327233908],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMTZjYTE0NWJhNDM1YjM3NWY3NjNmZjUzYjRjZTA0YjJhMGM4NzNlOGZmNTQ3ZThiMTRiMzkyZmRlNmZiZmQ5NCJ9fX0="}]},"minecraft:note_block_sound":"minecraft:block.lava.pop","minecraft:custom_data":{ts.mm.custom:1b}}} + +execute if score $global ts.mm.version matches ..3818 if score $loot ts.mm.settings matches 1..2 run data modify entity @s HandItems[0] set value {id:"minecraft:stone_sword",Count:1b,tag:{Enchantments:[{id:"minecraft:fire_aspect",lvl:1s}]}} +execute if score $global ts.mm.version matches 3819.. if score $loot ts.mm.settings matches 1..2 run data modify entity @s HandItems[0] set value {id:"minecraft:stone_sword",components:{"minecraft:enchantments":{levels:{"minecraft:fire_aspect":1}}}} +tag @s add ts.mm.magma_1 +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/wither_skeleton/magma_2.mcfunction b/data/more_mobs/function/wither_skeleton/magma_2.mcfunction new file mode 100644 index 0000000..5058e66 --- /dev/null +++ b/data/more_mobs/function/wither_skeleton/magma_2.mcfunction @@ -0,0 +1,16 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/monsters/41739-magma-cube + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"entity.minecraft.magma_cube","italic":false},{"text":" "},{"translate":"block.minecraft.wither_skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"63c49b2c-17d5-4f7d-81b1-31e9e8fa447c",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOTUyNTU2YzljZmIxNGQ4ZDhkMzQxZGI5NzQ1NTJjMmIzMGFjMDBhMWYzODk1YWQ5ZDNlZTU1NWFmZGVkZTBhNCJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"entity.minecraft.magma_cube","italic":false},{"text":" "},{"translate":"block.minecraft.wither_skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;1673829164,399855485,-2119093783,-386251652],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOTUyNTU2YzljZmIxNGQ4ZDhkMzQxZGI5NzQ1NTJjMmIzMGFjMDBhMWYzODk1YWQ5ZDNlZTU1NWFmZGVkZTBhNCJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.magma_cube.squish_small"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"translate":"entity.minecraft.magma_cube","italic":false},{"text":" "},{"translate":"block.minecraft.wither_skeleton_skull","italic":false}]',"minecraft:profile":{id:[I;1673829164,399855485,-2119093783,-386251652],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOTUyNTU2YzljZmIxNGQ4ZDhkMzQxZGI5NzQ1NTJjMmIzMGFjMDBhMWYzODk1YWQ5ZDNlZTU1NWFmZGVkZTBhNCJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.magma_cube.squish_small","minecraft:custom_data":{ts.mm.custom:1b}}} + +execute if score $global ts.mm.version matches ..3818 if score $loot ts.mm.settings matches 1..2 run data modify entity @s HandItems[0] set value {id:"minecraft:stone_sword",Count:1b,tag:{Enchantments:[{id:"minecraft:fire_aspect",lvl:2s}]}} +execute if score $global ts.mm.version matches 3819.. if score $loot ts.mm.settings matches 1..2 run data modify entity @s HandItems[0] set value {id:"minecraft:stone_sword",components:{"minecraft:enchantments":{levels:{"minecraft:fire_aspect":2}}}} +tag @s add ts.mm.magma_2 +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/wither_skeleton/ornate.mcfunction b/data/more_mobs/function/wither_skeleton/ornate.mcfunction new file mode 100644 index 0000000..242258c --- /dev/null +++ b/data/more_mobs/function/wither_skeleton/ornate.mcfunction @@ -0,0 +1,16 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/24672-ornate-wither-skeleton + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Ornate","italic":false},{"text":" "},{"translate":"block.minecraft.wither_skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"569c08b7-9f2e-4d55-9fa6-cdf699175de5",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYjg4MWI1ZTkxZjliNGVlMGQ0YzUzMzk2MmJiNjhmYTczY2VkYjc1ZWNkMjY4ZWNiZGQ0NGNhMGY0MDkxNDhjMiJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Ornate","italic":false},{"text":" "},{"translate":"block.minecraft.wither_skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;1453066423,-1624355499,-1616458250,-1726521883],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYjg4MWI1ZTkxZjliNGVlMGQ0YzUzMzk2MmJiNjhmYTczY2VkYjc1ZWNkMjY4ZWNiZGQ0NGNhMGY0MDkxNDhjMiJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.wither_skeleton.ambient"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"text":"Ornate","italic":false},{"text":" "},{"translate":"block.minecraft.wither_skeleton_skull","italic":false}]',"minecraft:profile":{id:[I;1453066423,-1624355499,-1616458250,-1726521883],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYjg4MWI1ZTkxZjliNGVlMGQ0YzUzMzk2MmJiNjhmYTczY2VkYjc1ZWNkMjY4ZWNiZGQ0NGNhMGY0MDkxNDhjMiJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.wither_skeleton.ambient","minecraft:custom_data":{ts.mm.custom:1b}}} + +execute if score $loot ts.mm.settings matches 1..2 run data modify entity @s HandItems[0] set value {id:"minecraft:golden_sword",Count:1b} +data modify entity @s ArmorItems[0] set value {id:"minecraft:golden_boots",Count:1b} +tag @s add ts.mm.ornate +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/wither_skeleton/soul_sand.mcfunction b/data/more_mobs/function/wither_skeleton/soul_sand.mcfunction new file mode 100644 index 0000000..4f05032 --- /dev/null +++ b/data/more_mobs/function/wither_skeleton/soul_sand.mcfunction @@ -0,0 +1,14 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/50492-ethereal-wither-skull + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Ethreal","italic":false},{"text":" "},{"translate":"block.minecraft.wither_skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"7a161435-84e5-4673-90ff-d5d5c0103802",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvM2E1Nzc1ZWFiYmJmODFmOGE5ZTNmYjE0MGZiN2RjYjBlNjhjNWIyZDAyZTEwYjEwNDM1NjQxMjU0OTRmMWEyZiJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"biome.minecraft.soul_sand_valley","italic":false},{"text":" "},{"translate":"block.minecraft.wither_skeleton_skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;-1005214760,-1180677961,-1318017977,1666063116],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYjExNzc3OTE2ZTc1NjQ0M2UzMGEwNDNmMmJjOWNjZTBkMGZlNjI0YmQ2MTkyZDdiYTIzZjk2YTFkNzFiOWYzZiJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:ambient.soul_sand_valley.mood"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"translate":"biome.minecraft.soul_sand_valley","italic":false},{"text":" "},{"translate":"block.minecraft.wither_skeleton_skull","italic":false}]',"minecraft:profile":{id:[I;-1005214760,-1180677961,-1318017977,1666063116],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYjExNzc3OTE2ZTc1NjQ0M2UzMGEwNDNmMmJjOWNjZTBkMGZlNjI0YmQ2MTkyZDdiYTIzZjk2YTFkNzFiOWYzZiJ9fX0="}]},"minecraft:note_block_sound":"minecraft:ambient.soul_sand_valley.mood","minecraft:custom_data":{ts.mm.custom:1b}}} + +tag @s add ts.mm.ethereal +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/wither_skeleton/steve.mcfunction b/data/more_mobs/function/wither_skeleton/steve.mcfunction new file mode 100644 index 0000000..f9e717b --- /dev/null +++ b/data/more_mobs/function/wither_skeleton/steve.mcfunction @@ -0,0 +1,14 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/35030-withered-steve + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Withered Steve Skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"08a539d6-a1da-488a-ab60-744f6d2bd655",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMzQ2MGQzNTQ3ZGYzYjQ1M2M1MTMxNDc3MWI4MGI5ZmRiNjhjMDM1OWIxNDQ3ZDhhNmYxYmM5NjU1NTc2OTUyMCJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Withered Steve Skull","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;145045974,-1579530102,-1419742129,1831589461],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMzQ2MGQzNTQ3ZGYzYjQ1M2M1MTMxNDc3MWI4MGI5ZmRiNjhjMDM1OWIxNDQ3ZDhhNmYxYmM5NjU1NTc2OTUyMCJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.wither_skeleton.ambient"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"text":"Withered Steve Skull","italic":false}]',"minecraft:profile":{id:[I;145045974,-1579530102,-1419742129,1831589461],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMzQ2MGQzNTQ3ZGYzYjQ1M2M1MTMxNDc3MWI4MGI5ZmRiNjhjMDM1OWIxNDQ3ZDhhNmYxYmM5NjU1NTc2OTUyMCJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.wither_skeleton.ambient","minecraft:custom_data":{ts.mm.custom:1b}}} + +tag @s add ts.mm.withered_steve +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/zombie/bloody.mcfunction b/data/more_mobs/function/zombie/bloody.mcfunction new file mode 100644 index 0000000..6dd9d43 --- /dev/null +++ b/data/more_mobs/function/zombie/bloody.mcfunction @@ -0,0 +1,14 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/25131-bloody-zombie + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Bloody","italic":false},{"text":" "},{"translate":"block.minecraft.zombie_head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"ea150644-f282-45e5-b1bf-b4c909ac3445",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZDY5ZGIxODc2ODJkYTM3MDdhM2RiYzBhYzAzZGUxOGY2NzUyZDczODk5MjQ3NjEyMzZjM2I4NzBlYjkyMWM3OSJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Bloody","italic":false},{"text":" "},{"translate":"block.minecraft.zombie_head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;-367720892,-226343451,-1312836407,162280517],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZDY5ZGIxODc2ODJkYTM3MDdhM2RiYzBhYzAzZGUxOGY2NzUyZDczODk5MjQ3NjEyMzZjM2I4NzBlYjkyMWM3OSJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.zombie.ambient"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"text":"Bloody","italic":false},{"text":" "},{"translate":"block.minecraft.zombie_head","italic":false}]',"minecraft:profile":{id:[I;-367720892,-226343451,-1312836407,162280517],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZDY5ZGIxODc2ODJkYTM3MDdhM2RiYzBhYzAzZGUxOGY2NzUyZDczODk5MjQ3NjEyMzZjM2I4NzBlYjkyMWM3OSJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.zombie.ambient","minecraft:custom_data":{ts.mm.custom:1b}}} + +tag @s add ts.mm.bloody_zombie +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/zombie/boulder.mcfunction b/data/more_mobs/function/zombie/boulder.mcfunction new file mode 100644 index 0000000..a42c9a9 --- /dev/null +++ b/data/more_mobs/function/zombie/boulder.mcfunction @@ -0,0 +1,15 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/44843-bouldering-zombie + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"block.minecraft.stone","italic":false},{"text":" "},{"translate":"block.minecraft.zombie_head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"18f6434c-48a7-40bd-a278-9e38217ce17e",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMzUyMzI3MzBmOTgyOTc0OTAxMWIzNDk0MjAxYWExNTJiNGEwNThhNjJkYmJhNDA4YjdiNDVlMjQxN2I2NzUwYSJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"block.minecraft.stone","italic":false},{"text":" "},{"translate":"block.minecraft.zombie_head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;418792268,1218920637,-1569153480,561832318],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMzUyMzI3MzBmOTgyOTc0OTAxMWIzNDk0MjAxYWExNTJiNGEwNThhNjJkYmJhNDA4YjdiNDVlMjQxN2I2NzUwYSJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.zombie.ambient"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"translate":"block.minecraft.stone","italic":false},{"text":" "},{"translate":"block.minecraft.zombie_head","italic":false}]',"minecraft:profile":{id:[I;418792268,1218920637,-1569153480,561832318],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMzUyMzI3MzBmOTgyOTc0OTAxMWIzNDk0MjAxYWExNTJiNGEwNThhNjJkYmJhNDA4YjdiNDVlMjQxN2I2NzUwYSJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.zombie.ambient","minecraft:custom_data":{ts.mm.custom:1b}}} + +data modify entity @s HandItems[1] set value {id:"minecraft:stone",Count:1b} +tag @s add ts.mm.boulder +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/zombie/deepd.mcfunction b/data/more_mobs/function/zombie/deepd.mcfunction new file mode 100644 index 0000000..61e9e94 --- /dev/null +++ b/data/more_mobs/function/zombie/deepd.mcfunction @@ -0,0 +1,14 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/52306-sculk-zombie + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Deep Dark","italic":false},{"text":" "},{"translate":"block.minecraft.zombie_head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"f76f1f9d-175a-484f-b51f-583b1248c183",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZjA4ZGQ2YjBjNzEyZWMxYzE2OGYxZWFjYmJhMmQyODdlZDhlYWU1NTc3NzA5YmU1ZjBmZjUwNDcwMTc1MDg5NCJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"biome.minecraft.deep_dark","italic":false},{"text":" "},{"translate":"block.minecraft.zombie_head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;-143712355,391792719,-1256236997,306758019],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZjA4ZGQ2YjBjNzEyZWMxYzE2OGYxZWFjYmJhMmQyODdlZDhlYWU1NTc3NzA5YmU1ZjBmZjUwNDcwMTc1MDg5NCJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:block.sculk_catalyst.bloom"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"translate":"biome.minecraft.deep_dark","italic":false},{"text":" "},{"translate":"block.minecraft.zombie_head","italic":false}]',"minecraft:profile":{id:[I;-143712355,391792719,-1256236997,306758019],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZjA4ZGQ2YjBjNzEyZWMxYzE2OGYxZWFjYmJhMmQyODdlZDhlYWU1NTc3NzA5YmU1ZjBmZjUwNDcwMTc1MDg5NCJ9fX0="}]},"minecraft:note_block_sound":"minecraft:block.sculk_catalyst.bloom","minecraft:custom_data":{ts.mm.custom:1b}}} + +tag @s add ts.mm.deepd +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/zombie/enderman.mcfunction b/data/more_mobs/function/zombie/enderman.mcfunction new file mode 100644 index 0000000..129102e --- /dev/null +++ b/data/more_mobs/function/zombie/enderman.mcfunction @@ -0,0 +1,15 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/monsters/50837-enderman-zombie + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"entity.minecraft.enderman","italic":false},{"text":" "},{"translate":"block.minecraft.zombie_head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"bb62d5b7-7d4b-4faa-9809-d80b1c059d8b",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYmM3MzJhZmRkNTNmYTgwZGJmMjI0ZmE1ZjhkMDIyN2FiZTU1M2UwMWU4ODIwYjlmYjA1NGZhYmY0ZGEzYjUwNSJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"entity.minecraft.enderman","italic":false},{"text":" "},{"translate":"block.minecraft.zombie_head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;-1151150665,2102087594,-1744185333,470130059],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYmM3MzJhZmRkNTNmYTgwZGJmMjI0ZmE1ZjhkMDIyN2FiZTU1M2UwMWU4ODIwYjlmYjA1NGZhYmY0ZGEzYjUwNSJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.enderman.ambient"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"translate":"entity.minecraft.enderman","italic":false},{"text":" "},{"translate":"block.minecraft.zombie_head","italic":false}]',"minecraft:profile":{id:[I;-1151150665,2102087594,-1744185333,470130059],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYmM3MzJhZmRkNTNmYTgwZGJmMjI0ZmE1ZjhkMDIyN2FiZTU1M2UwMWU4ODIwYjlmYjA1NGZhYmY0ZGEzYjUwNSJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.enderman.ambient","minecraft:custom_data":{ts.mm.custom:1b}}} + +execute if score $loot ts.mm.settings matches 1..2 run data modify entity @s HandItems[1] set value {id:"minecraft:ender_pearl",Count:1b} +tag @s add ts.mm.enderman +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/zombie/frozen.mcfunction b/data/more_mobs/function/zombie/frozen.mcfunction new file mode 100644 index 0000000..2712332 --- /dev/null +++ b/data/more_mobs/function/zombie/frozen.mcfunction @@ -0,0 +1,14 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/monsters/36071-frozen-zombie + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"biome.minecraft.ice_spikes","italic":false},{"text":" "},{"translate":"block.minecraft.zombie_head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"42c6ba09-8da8-457c-a486-829806654e91",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMWQ5MjhjY2I3Y2Y3NTg0MjVlYTM4YTVkNjBiZGE1MTY5ZjdkZmRhZjQyMTQ2Mzc0ZjllOWM5OTMyMDJmYTFiZSJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"biome.minecraft.ice_spikes","italic":false},{"text":" "},{"translate":"block.minecraft.zombie_head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;897044178,842745964,-1807527724,-930630382],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMWQ5MjhjY2I3Y2Y3NTg0MjVlYTM4YTVkNjBiZGE1MTY5ZjdkZmRhZjQyMTQ2Mzc0ZjllOWM5OTMyMDJmYTFiZSJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:block.glass.break"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"translate":"biome.minecraft.ice_spikes","italic":false},{"text":" "},{"translate":"block.minecraft.zombie_head","italic":false}]',"minecraft:profile":{id:[I;897044178,842745964,-1807527724,-930630382],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMWQ5MjhjY2I3Y2Y3NTg0MjVlYTM4YTVkNjBiZGE1MTY5ZjdkZmRhZjQyMTQ2Mzc0ZjllOWM5OTMyMDJmYTFiZSJ9fX0="}]},"minecraft:note_block_sound":"minecraft:block.glass.break","minecraft:custom_data":{ts.mm.custom:1b}}} + +tag @s add ts.mm.frozen +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/zombie/infested.mcfunction b/data/more_mobs/function/zombie/infested.mcfunction new file mode 100644 index 0000000..f2bd7b4 --- /dev/null +++ b/data/more_mobs/function/zombie/infested.mcfunction @@ -0,0 +1,14 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/decoration/52330-digested-mushrooms + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Infested","italic":false},{"text":" "},{"translate":"block.minecraft.zombie_head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"b6a70c5f-1233-4ac1-b35a-0c4c32300eaa",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNDIwZmY1YjE5ZGE1MjRjMzA5OTNlMDQ4Nzk2MmY5YzE0NWM4NTQ2NTQ5MmExMTFkOWMzODNkMGY3NDhkNTlmOCJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Infested","italic":false},{"text":" "},{"translate":"block.minecraft.zombie_head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;-1230566305,305351361,-1285944244,842010282],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNDIwZmY1YjE5ZGE1MjRjMzA5OTNlMDQ4Nzk2MmY5YzE0NWM4NTQ2NTQ5MmExMTFkOWMzODNkMGY3NDhkNTlmOCJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:block.fungus.break"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"text":"Infested","italic":false},{"text":" "},{"translate":"block.minecraft.zombie_head","italic":false}]',"minecraft:profile":{id:[I;-1230566305,305351361,-1285944244,842010282],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNDIwZmY1YjE5ZGE1MjRjMzA5OTNlMDQ4Nzk2MmY5YzE0NWM4NTQ2NTQ5MmExMTFkOWMzODNkMGY3NDhkNTlmOCJ9fX0="}]},"minecraft:note_block_sound":"minecraft:block.fungus.break","minecraft:custom_data":{ts.mm.custom:1b}}} + +tag @s add ts.mm.warped +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/zombie/jungle.mcfunction b/data/more_mobs/function/zombie/jungle.mcfunction new file mode 100644 index 0000000..02aee38 --- /dev/null +++ b/data/more_mobs/function/zombie/jungle.mcfunction @@ -0,0 +1,14 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/41527-jungle-zombie + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"biome.minecraft.jungle","italic":false},{"text":" "},{"translate":"block.minecraft.zombie_head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"ad4b6f59-ebc1-43fe-9087-ed9f8fe9f953",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMzY0YjNkMzhmYWE1ZGE0MDg4OGU5NzA1NmE0YTU3MmU5ZDMxMWU5MDZiMjhiNTU1N2M2YjQyNTdkMjY3YzIwOSJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"biome.minecraft.jungle","italic":false},{"text":" "},{"translate":"block.minecraft.zombie_head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;-1387565223,-339655682,-1870140001,-1880491693],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMzY0YjNkMzhmYWE1ZGE0MDg4OGU5NzA1NmE0YTU3MmU5ZDMxMWU5MDZiMjhiNTU1N2M2YjQyNTdkMjY3YzIwOSJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.zombie.ambient"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"translate":"biome.minecraft.jungle","italic":false},{"text":" "},{"translate":"block.minecraft.zombie_head","italic":false}]',"minecraft:profile":{id:[I;-1387565223,-339655682,-1870140001,-1880491693],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMzY0YjNkMzhmYWE1ZGE0MDg4OGU5NzA1NmE0YTU3MmU5ZDMxMWU5MDZiMjhiNTU1N2M2YjQyNTdkMjY3YzIwOSJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.zombie.ambient","minecraft:custom_data":{ts.mm.custom:1b}}} + +tag @s add ts.mm.jungle +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/zombie/lake.mcfunction b/data/more_mobs/function/zombie/lake.mcfunction new file mode 100644 index 0000000..1950b40 --- /dev/null +++ b/data/more_mobs/function/zombie/lake.mcfunction @@ -0,0 +1,14 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/41300-lake-zombie + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Lake","italic":false},{"text":" "},{"translate":"block.minecraft.zombie_head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"3eb651cd-411e-4861-b2eb-0fc5d8137979",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOWQ4ODkwNTViOWE5MjQwZjUyZmQ3NjkxYTVjOTMyOWNiN2MyNTg1MGFjZDA0NDYwNjU1ODgzODIwMzQxNWY0MSJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Lake","italic":false},{"text":" "},{"translate":"block.minecraft.zombie_head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;1052135885,1092503649,-1293217851,-669812359],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOWQ4ODkwNTViOWE5MjQwZjUyZmQ3NjkxYTVjOTMyOWNiN2MyNTg1MGFjZDA0NDYwNjU1ODgzODIwMzQxNWY0MSJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.zombie.converted_to_drowned"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"text":"Lake","italic":false},{"text":" "},{"translate":"block.minecraft.zombie_head","italic":false}]',"minecraft:profile":{id:[I;1052135885,1092503649,-1293217851,-669812359],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOWQ4ODkwNTViOWE5MjQwZjUyZmQ3NjkxYTVjOTMyOWNiN2MyNTg1MGFjZDA0NDYwNjU1ODgzODIwMzQxNWY0MSJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.zombie.converted_to_drowned","minecraft:custom_data":{ts.mm.custom:1b}}} + +tag @s add ts.mm.drowned +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/zombie/lobber.mcfunction b/data/more_mobs/function/zombie/lobber.mcfunction new file mode 100644 index 0000000..3aa7d6d --- /dev/null +++ b/data/more_mobs/function/zombie/lobber.mcfunction @@ -0,0 +1,14 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/44844-lobber-zombie + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Lobber","italic":false},{"text":" "},{"translate":"block.minecraft.zombie_head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"8dc5379c-7a57-46ac-91b5-950019fa23b2",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZmZiZDk0ZTZlZWRlMTk0NDBjZjk1YzUzMGJlZDllMTRlNTM1MTE1YTA3NWQ0Zjk1NjA0MDM0YzJjODI2NTFkMCJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Lobber","italic":false},{"text":" "},{"translate":"block.minecraft.zombie_head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;-1916455012,2052540076,-1850370816,435823538],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZmZiZDk0ZTZlZWRlMTk0NDBjZjk1YzUzMGJlZDllMTRlNTM1MTE1YTA3NWQ0Zjk1NjA0MDM0YzJjODI2NTFkMCJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.vindicator.ambient"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"text":"Lobber","italic":false},{"text":" "},{"translate":"block.minecraft.zombie_head","italic":false}]',"minecraft:profile":{id:[I;-1916455012,2052540076,-1850370816,435823538],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZmZiZDk0ZTZlZWRlMTk0NDBjZjk1YzUzMGJlZDllMTRlNTM1MTE1YTA3NWQ0Zjk1NjA0MDM0YzJjODI2NTFkMCJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.vindicator.ambient","minecraft:custom_data":{ts.mm.custom:1b}}} + +tag @s add ts.mm.lobber +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/zombie/miner_1.mcfunction b/data/more_mobs/function/zombie/miner_1.mcfunction new file mode 100644 index 0000000..198dc43 --- /dev/null +++ b/data/more_mobs/function/zombie/miner_1.mcfunction @@ -0,0 +1,16 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/8490-zombie-miner + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Miner","italic":false},{"text":" "},{"translate":"block.minecraft.zombie_head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"34c99741-b8a3-4a67-bf25-e4614da48235",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZjY0NGM4ZjM2ZTIxZDVlYTk1NjI0OTI4ZTNmMzVhMmI0OTQ5Y2U3NWIyZmE2OGNjZDJiYzg0ZDlhZGEwY2I3In19fQ=="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Miner","italic":false},{"text":" "},{"translate":"block.minecraft.zombie_head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;885626689,-1197258137,-1088035743,1302626869],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZjY0NGM4ZjM2ZTIxZDVlYTk1NjI0OTI4ZTNmMzVhMmI0OTQ5Y2U3NWIyZmE2OGNjZDJiYzg0ZDlhZGEwY2I3In19fQ=="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.zombie.ambient"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"text":"Miner","italic":false},{"text":" "},{"translate":"block.minecraft.zombie_head","italic":false}]',"minecraft:profile":{id:[I;885626689,-1197258137,-1088035743,1302626869],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZjY0NGM4ZjM2ZTIxZDVlYTk1NjI0OTI4ZTNmMzVhMmI0OTQ5Y2U3NWIyZmE2OGNjZDJiYzg0ZDlhZGEwY2I3In19fQ=="}]},"minecraft:note_block_sound":"minecraft:entity.zombie.ambient","minecraft:custom_data":{ts.mm.custom:1b}}} + +execute if score $loot ts.mm.settings matches 1..2 run data modify entity @s HandItems[1] set value {id:"minecraft:coal",Count:5b,count:5} +execute if score $loot ts.mm.settings matches 1..2 run data modify entity @s HandItems[0] set value {id:"minecraft:stone_pickaxe",Count:1b} +tag @s add ts.mm.miner +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/zombie/miner_2.mcfunction b/data/more_mobs/function/zombie/miner_2.mcfunction new file mode 100644 index 0000000..e51a16a --- /dev/null +++ b/data/more_mobs/function/zombie/miner_2.mcfunction @@ -0,0 +1,16 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/29322-zombie-miner + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Miner","italic":false},{"text":" "},{"translate":"block.minecraft.zombie_head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"04f11f70-5570-4029-a9d4-285b0e299851",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNjVhN2E0ODMzZjRjMTFmMmZkMDY0ZGMxNDBkZmM4YjIxODMwNjRlMjg2NTUwMDZhZDcxYzYxMzFlMDczZjZjOCJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Miner","italic":false},{"text":" "},{"translate":"block.minecraft.zombie_head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;82911088,1433419817,-1445713829,237606993],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNjVhN2E0ODMzZjRjMTFmMmZkMDY0ZGMxNDBkZmM4YjIxODMwNjRlMjg2NTUwMDZhZDcxYzYxMzFlMDczZjZjOCJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.zombie.ambient"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"text":"Miner","italic":false},{"text":" "},{"translate":"block.minecraft.zombie_head","italic":false}]',"minecraft:profile":{id:[I;82911088,1433419817,-1445713829,237606993],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNjVhN2E0ODMzZjRjMTFmMmZkMDY0ZGMxNDBkZmM4YjIxODMwNjRlMjg2NTUwMDZhZDcxYzYxMzFlMDczZjZjOCJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.zombie.ambient","minecraft:custom_data":{ts.mm.custom:1b}}} + +execute if score $loot ts.mm.settings matches 1..2 run data modify entity @s HandItems[1] set value {id:"minecraft:gold_ore",Count:5b,count:5} +execute if score $loot ts.mm.settings matches 1..2 run data modify entity @s HandItems[0] set value {id:"minecraft:iron_pickaxe",Count:1b} +tag @s add ts.mm.miner +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/zombie/rotting.mcfunction b/data/more_mobs/function/zombie/rotting.mcfunction new file mode 100644 index 0000000..dde092f --- /dev/null +++ b/data/more_mobs/function/zombie/rotting.mcfunction @@ -0,0 +1,14 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/12244-rotten-zombie + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Rotting","italic":false},{"text":" "},{"translate":"block.minecraft.zombie_head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"fdab5516-67f5-4e16-811b-f67adb6e3442",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvODYyYWQ0NDE4MmY0YjRhZTVjODE1YTE5ZTM5ODM3NjM5NjY4NjQyYTU0NTg4OGQxMzg3MzJhYjRmOGM1YyJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Rotting","italic":false},{"text":" "},{"translate":"block.minecraft.zombie_head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;-39103210,1744129558,-2128873862,-613534654],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvODYyYWQ0NDE4MmY0YjRhZTVjODE1YTE5ZTM5ODM3NjM5NjY4NjQyYTU0NTg4OGQxMzg3MzJhYjRmOGM1YyJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.zombie.ambient"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"text":"Rotting","italic":false},{"text":" "},{"translate":"block.minecraft.zombie_head","italic":false}]',"minecraft:profile":{id:[I;-39103210,1744129558,-2128873862,-613534654],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvODYyYWQ0NDE4MmY0YjRhZTVjODE1YTE5ZTM5ODM3NjM5NjY4NjQyYTU0NTg4OGQxMzg3MzJhYjRmOGM1YyJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.zombie.ambient","minecraft:custom_data":{ts.mm.custom:1b}}} + +tag @s add ts.mm.rotting +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/zombie/snowy.mcfunction b/data/more_mobs/function/zombie/snowy.mcfunction new file mode 100644 index 0000000..c3a17b4 --- /dev/null +++ b/data/more_mobs/function/zombie/snowy.mcfunction @@ -0,0 +1,14 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/41299-snowy-zombie + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Snowy","italic":false},{"text":" "},{"translate":"block.minecraft.zombie_head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"8e9d948a-c84a-4294-8642-2cf8f82ce21e",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZWMzNWMwOWUyM2NiNzlkNTc2OWFjY2Q5ZjE1MDRhOWU0YWEyYTZmMmQwMjZlMmE1NGUzNjkxOTIwMTY4MmY0ZCJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Snowy","italic":false},{"text":" "},{"translate":"block.minecraft.zombie_head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;-1902275446,-934657388,-2042483464,-131276258],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZWMzNWMwOWUyM2NiNzlkNTc2OWFjY2Q5ZjE1MDRhOWU0YWEyYTZmMmQwMjZlMmE1NGUzNjkxOTIwMTY4MmY0ZCJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.zombie.ambient"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"text":"Snowy","italic":false},{"text":" "},{"translate":"block.minecraft.zombie_head","italic":false}]',"minecraft:profile":{id:[I;-1902275446,-934657388,-2042483464,-131276258],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZWMzNWMwOWUyM2NiNzlkNTc2OWFjY2Q5ZjE1MDRhOWU0YWEyYTZmMmQwMjZlMmE1NGUzNjkxOTIwMTY4MmY0ZCJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.zombie.ambient","minecraft:custom_data":{ts.mm.custom:1b}}} + +tag @s add ts.mm.snowy +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/zombie/swamp.mcfunction b/data/more_mobs/function/zombie/swamp.mcfunction new file mode 100644 index 0000000..dd6f678 --- /dev/null +++ b/data/more_mobs/function/zombie/swamp.mcfunction @@ -0,0 +1,14 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/41298-swampy-zombie + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"biome.minecraft.swamp","italic":false},{"text":" "},{"translate":"block.minecraft.zombie_head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"ddf9b716-0ea6-4c6f-9d64-71c3c266e2c3",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYmFjNzNkM2U4MmI2MTc2MWY5NDE1ZTNjNjljNDQxMzE4MjFjODk2MzQ3OTY0NmJhYWFhZmQ2YTA2ODIzZDYyIn19fQ=="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"translate":"biome.minecraft.swamp","italic":false},{"text":" "},{"translate":"block.minecraft.zombie_head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;-570837226,245779567,-1654361661,-1033444669],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYmFjNzNkM2U4MmI2MTc2MWY5NDE1ZTNjNjljNDQxMzE4MjFjODk2MzQ3OTY0NmJhYWFhZmQ2YTA2ODIzZDYyIn19fQ=="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.zombie.converted_to_drowned"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"translate":"biome.minecraft.swamp","italic":false},{"text":" "},{"translate":"block.minecraft.zombie_head","italic":false}]',"minecraft:profile":{id:[I;-570837226,245779567,-1654361661,-1033444669],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYmFjNzNkM2U4MmI2MTc2MWY5NDE1ZTNjNjljNDQxMzE4MjFjODk2MzQ3OTY0NmJhYWFhZmQ2YTA2ODIzZDYyIn19fQ=="}]},"minecraft:note_block_sound":"minecraft:entity.zombie.converted_to_drowned","minecraft:custom_data":{ts.mm.custom:1b}}} + +tag @s add ts.mm.swamp +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/function/zombie/villager.mcfunction b/data/more_mobs/function/zombie/villager.mcfunction new file mode 100644 index 0000000..b709fe2 --- /dev/null +++ b/data/more_mobs/function/zombie/villager.mcfunction @@ -0,0 +1,14 @@ +## by Tschipcraft +# https://minecraft-heads.com/custom-heads/humanoid/26694-injured-zombie-villager + +# 1.15 or below +execute if score $global ts.mm.version matches 1933..2514 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Injured ","italic":false},{"translate":"entity.minecraft.villager","italic":false},{"text":" "},{"translate":"block.minecraft.zombie_head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:"dd1b157c-d732-4d1c-8185-da205188a8cf",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYjczNTBmZDJkZjQzMGJjNGI5YWFlY2QxM2M1MWM5NTFlNWJmYzlmMTMzYmFkMGNkYWVmZTE5MjJhOWU0N2ZhMyJ9fX0="}]}}}} + +# 1.16 until 1.20.4 +execute if score $global ts.mm.version matches 2515..3818 run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",Count:1b,tag:{display:{Name:'[{"text":"Injured ","italic":false},{"translate":"entity.minecraft.villager","italic":false},{"text":" "},{"translate":"block.minecraft.zombie_head","italic":false}]'},ts.mm.custom:1b,SkullOwner:{Id:[I;-1091370456,-280017173,-1978698917,1273758653],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYjczNTBmZDJkZjQzMGJjNGI5YWFlY2QxM2M1MWM5NTFlNWJmYzlmMTMzYmFkMGNkYWVmZTE5MjJhOWU0N2ZhMyJ9fX0="}]}},BlockEntityTag:{note_block_sound:"minecraft:entity.zombie_villager.ambient"}}} + +# 1.20.5 and above +execute if score $global ts.mm.version matches 3819.. run data modify entity @s ArmorItems[3] set value {id:"minecraft:player_head",components:{"minecraft:custom_name":'[{"text":"Injured ","italic":false},{"translate":"entity.minecraft.villager","italic":false},{"text":" "},{"translate":"block.minecraft.zombie_head","italic":false}]',"minecraft:profile":{id:[I;-1091370456,-280017173,-1978698917,1273758653],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYjczNTBmZDJkZjQzMGJjNGI5YWFlY2QxM2M1MWM5NTFlNWJmYzlmMTMzYmFkMGNkYWVmZTE5MjJhOWU0N2ZhMyJ9fX0="}]},"minecraft:note_block_sound":"minecraft:entity.zombie_villager.ambient","minecraft:custom_data":{ts.mm.custom:1b}}} + +tag @s add ts.mm.villager_zombie +tag @s add ts.mm.custom_head diff --git a/data/more_mobs/predicate/full_moon.json b/data/more_mobs/predicate/full_moon.json new file mode 100644 index 0000000..d2983b5 --- /dev/null +++ b/data/more_mobs/predicate/full_moon.json @@ -0,0 +1,9 @@ +{ + "//comment": "This predicate is currently not used by the data pack, but may come in handy if I decide to do something with it", + "condition": "minecraft:time_check", + "value": { + "min": 14000, + "max": 22000 + }, + "period": 192000 +} diff --git a/data/more_mobs/predicate/is_night.json b/data/more_mobs/predicate/is_night.json new file mode 100644 index 0000000..3cbfc0f --- /dev/null +++ b/data/more_mobs/predicate/is_night.json @@ -0,0 +1,8 @@ +{ + "condition": "minecraft:time_check", + "value": { + "min": 12542, + "max": 23460 + }, + "period": 24000 +} diff --git a/data/more_mobs/predicate/is_raining.json b/data/more_mobs/predicate/is_raining.json new file mode 100644 index 0000000..fd1aff7 --- /dev/null +++ b/data/more_mobs/predicate/is_raining.json @@ -0,0 +1,4 @@ +{ + "condition": "minecraft:weather_check", + "raining": true +} diff --git a/data/more_mobs/predicate/is_thundering.json b/data/more_mobs/predicate/is_thundering.json new file mode 100644 index 0000000..ab03892 --- /dev/null +++ b/data/more_mobs/predicate/is_thundering.json @@ -0,0 +1,4 @@ +{ + "condition": "minecraft:weather_check", + "thundering": true +} diff --git a/data/more_mobs/tags/block/air.json b/data/more_mobs/tags/block/air.json new file mode 100644 index 0000000..e4bd367 --- /dev/null +++ b/data/more_mobs/tags/block/air.json @@ -0,0 +1,10 @@ +{ + "replace": false, + "values": [ + "minecraft:air", + "minecraft:cave_air", + "minecraft:void_air", + "minecraft:moving_piston", + "minecraft:structure_void" + ] +} diff --git a/data/more_mobs/tags/block/dead_corals.json b/data/more_mobs/tags/block/dead_corals.json new file mode 100644 index 0000000..f87440c --- /dev/null +++ b/data/more_mobs/tags/block/dead_corals.json @@ -0,0 +1,20 @@ +{ + "replace": false, + "values": [ + "minecraft:dead_tube_coral_fan", + "minecraft:dead_brain_coral_fan", + "minecraft:dead_bubble_coral_fan", + "minecraft:dead_fire_coral_fan", + "minecraft:dead_horn_coral_fan", + "minecraft:dead_tube_coral_wall_fan", + "minecraft:dead_brain_coral_wall_fan", + "minecraft:dead_bubble_coral_wall_fan", + "minecraft:dead_fire_coral_wall_fan", + "minecraft:dead_horn_coral_wall_fan", + "minecraft:dead_tube_coral", + "minecraft:dead_brain_coral", + "minecraft:dead_bubble_coral", + "minecraft:dead_fire_coral", + "minecraft:dead_horn_coral" + ] +} diff --git a/data/more_mobs/tags/block/jungle_blocks.json b/data/more_mobs/tags/block/jungle_blocks.json new file mode 100644 index 0000000..60b71ad --- /dev/null +++ b/data/more_mobs/tags/block/jungle_blocks.json @@ -0,0 +1,8 @@ +{ + "replace": false, + "values": [ + "minecraft:grass_block", + "minecraft:jungle_leaves", + "minecraft:vine" + ] +} diff --git a/data/more_mobs/tags/block/nonsolid.json b/data/more_mobs/tags/block/nonsolid.json new file mode 100644 index 0000000..e947845 --- /dev/null +++ b/data/more_mobs/tags/block/nonsolid.json @@ -0,0 +1,76 @@ +{ + "//comment": "Some blocks like minecraft:grass do not have to appear here, since they occur on the ground only anyways", + "replace": false, + "values": [ + "minecraft:air", + "minecraft:cave_air", + "minecraft:light", + "minecraft:water", + "minecraft:bubble_column", + "minecraft:moving_piston", + "minecraft:lava", + "minecraft:structure_void", + "minecraft:nether_portal", + "minecraft:end_portal", + "minecraft:end_gateway", + "minecraft:fire", + "#minecraft:saplings", + "minecraft:bamboo_sapling", + "#minecraft:corals", + "#minecraft:wall_corals", + "#more_mobs:dead_corals", + "minecraft:sea_pickle", + "minecraft:kelp", + "minecraft:kelp_plant", + "#minecraft:small_flowers", + "#minecraft:flower_pots", + "minecraft:beetroots", + "minecraft:carrots", + "minecraft:potatoes", + "minecraft:wheat", + "minecraft:melon_stem", + "minecraft:pumpkin_stem", + "minecraft:cocoa", + "minecraft:sweet_berry_bush", + "minecraft:nether_wart", + "minecraft:brown_mushroom", + "minecraft:red_mushroom", + "minecraft:tall_grass", + "minecraft:sunflower", + "minecraft:lilac", + "minecraft:peony", + "minecraft:rose_bush", + "minecraft:large_fern", + "minecraft:fern", + "minecraft:lily_pad", + "minecraft:vine", + "minecraft:dead_bush", + "minecraft:torch", + "minecraft:wall_torch", + "minecraft:redstone_torch", + "minecraft:redstone_wall_torch", + "minecraft:snow", + "minecraft:sugar_cane", + "minecraft:ladder", + "minecraft:brewing_stand", + "minecraft:enchanting_table", + "minecraft:conduit", + "#minecraft:beds", + "minecraft:end_rod", + "#minecraft:buttons", + "minecraft:lever", + "minecraft:repeater", + "minecraft:comparator", + "minecraft:redstone_wire", + "minecraft:daylight_detector", + "#minecraft:wooden_pressure_plates", + "minecraft:stone_pressure_plate", + "minecraft:light_weighted_pressure_plate", + "minecraft:heavy_weighted_pressure_plate", + "#minecraft:rails", + "minecraft:tripwire", + "minecraft:tripwire_hook", + "minecraft:cobweb", + "#minecraft:signs" + ] +} diff --git a/data/more_mobs/tags/entity_type/burns_in_daylight.json b/data/more_mobs/tags/entity_type/burns_in_daylight.json new file mode 100644 index 0000000..26eaefa --- /dev/null +++ b/data/more_mobs/tags/entity_type/burns_in_daylight.json @@ -0,0 +1,9 @@ +{ + "replace": false, + "values": [ + "minecraft:skeleton", + "minecraft:stray", + "minecraft:zombie", + "minecraft:drowned" + ] +} diff --git a/data/more_mobs/tags/entity_type/parsable.json b/data/more_mobs/tags/entity_type/parsable.json new file mode 100644 index 0000000..7394006 --- /dev/null +++ b/data/more_mobs/tags/entity_type/parsable.json @@ -0,0 +1,15 @@ +{ + "replace": false, + "values": [ + "minecraft:mooshroom", + "minecraft:skeleton", + "minecraft:stray", + "minecraft:wither_skeleton", + "minecraft:husk", + "minecraft:zombie", + "minecraft:drowned", + "minecraft:pillager", + "minecraft:evoker", + "minecraft:vindicator" + ] +} diff --git a/data/more_mobs/tags/entity_type/spider.json b/data/more_mobs/tags/entity_type/spider.json new file mode 100644 index 0000000..20edbb7 --- /dev/null +++ b/data/more_mobs/tags/entity_type/spider.json @@ -0,0 +1,7 @@ +{ + "replace": false, + "values": [ + "minecraft:spider", + "minecraft:cave_spider" + ] +} diff --git a/data/more_mobs/tags/function/settings.json b/data/more_mobs/tags/function/settings.json new file mode 100644 index 0000000..ed34767 --- /dev/null +++ b/data/more_mobs/tags/function/settings.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "more_mobs:settings" + ] +} diff --git a/data/tschipcraft/function/menu.mcfunction b/data/tschipcraft/function/menu.mcfunction new file mode 100644 index 0000000..93a17ce --- /dev/null +++ b/data/tschipcraft/function/menu.mcfunction @@ -0,0 +1,4 @@ +##by Tschipcraft + +scoreboard players set @s tschipcraft.menu 1 +function more_mobs:settings/hide_feedback/main diff --git a/data/tschipcraft/tags/function/menu.json b/data/tschipcraft/tags/function/menu.json new file mode 100644 index 0000000..84e3739 --- /dev/null +++ b/data/tschipcraft/tags/function/menu.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "tschipcraft:menu" + ] +} diff --git a/pack.mcmeta b/pack.mcmeta index dacc200..2977794 100644 --- a/pack.mcmeta +++ b/pack.mcmeta @@ -8,7 +8,7 @@ "overlays": { "entries": [ { - "formats": [39,99], + "formats": [39,44], "directory": "overlay_39" } ]