This repository has been archived by the owner on Aug 28, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Better compatibility with other datapacks - Support for the minecraft versions 1.14.X, 1.15.X, 1.16.1, 1.16.2 - Removed name tag visibility - Removed translation because it not used
- Loading branch information
2mal3
committed
Jul 24, 2020
1 parent
aa19e9b
commit 2c0a7f3
Showing
45 changed files
with
548 additions
and
198 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,17 @@ | ||
# Advanced Monsters Datapack v.1.4.6 | ||
# Advanced Monsters Datapack v.1.6.8 | ||
Compatibility: Multiplayer 1.14+ | ||
|
||
With the Advanced Monsters Datapack v.1.4.6 of 2mal3 there is a chance (usually 10%) that a monster will become an Advanced Monster. This monster has 50% more life, does 50% more damage, is 10% faster and sees players 10% longer. | ||
With the Advanced Monsters Datapack v.1.6.8 by 2mal3 there is a chance (usually 10%) that a monster will become an Advanced Monster. This monster has 50% more life, does 50% more damage, is 10% faster and sees players 10% longer. | ||
|
||
The chance can be changed under data > amd > loot_tables > random.json by changing the second number. The probability then results from 1 / The specified number. | ||
|
||
This datapack supports with my [Language Pack](http://adfoc.us/51488274991099) the languages German, Spanish and French. | ||
*** | ||
|
||
### Installation: | ||
- Download the file. | ||
- Move the folder in the file to a datapack folder in a world of your choice. | ||
|
||
To uninstall, enter /function #amd:uninstall and drag the Datapack folder from the Datapacks Order of the World | ||
### Uninstall: | ||
- Enter `/function #amd:uninstall` | ||
- Confirm that you want to uninstall | ||
- Optional: Delete the datapack from the folder |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"display": { | ||
"title": "Advanced Monsters v.1.6.8", | ||
"description": "With the Advanced Monsters Datapack v.1.6.8 by 2mal3 there is a chance that a monster will become an Advanced Monster. This monster is much stronger and harder to defeat.", | ||
"icon": { | ||
"item": "minecraft:zombie_head" | ||
}, | ||
"announce_to_chat": false, | ||
"show_toast": false | ||
}, | ||
"parent": "global:2mal3", | ||
"criteria": { | ||
"trigger": { | ||
"trigger": "minecraft:tick" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# Description: Additional abilities for transformed monsters | ||
# Called by: main/tick | ||
# Called by: main/tick/tick | ||
# Datapack by 2mal3 | ||
|
||
execute as @e[type=#amd:arrow] at @s run data merge entity @e[type=minecraft:arrow,limit=1,sort=nearest,distance=..2] {damage:4d} | ||
execute as @e[type=minecraft:ghast] at @s run data merge entity @e[type=minecraft:fireball,limit=1,sort=nearest,distance=..5] {ExplosionPower:4} | ||
execute if entity @s[type=#amd:arrow] run data merge entity @e[type=minecraft:arrow,limit=1,sort=nearest,distance=..2] {damage:4d} | ||
execute if entity @s[type=minecraft:ghast] run data merge entity @e[type=minecraft:fireball,limit=1,sort=nearest,distance=..5] {ExplosionPower:4} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Description: All commands to init the datapack | ||
# Called by: #reaload | ||
# Datapack by 2mal3 | ||
|
||
# scoreboards | ||
scoreboard objectives add amd.random dummy | ||
scoreboard objectives add amd.data dummy | ||
|
||
scoreboard players set $V1 amd.data 1 | ||
scoreboard players set $V2 amd.data 6 | ||
scoreboard players set $V3 amd.data 8 | ||
|
||
|
||
# test minecraft version | ||
function version:test | ||
|
||
|
||
# send the reload message 4 sekonds after reload | ||
schedule function amd:main/reload/reload_message 3s | ||
|
||
|
||
# start game loop | ||
execute if score $version version matches 1140..1152 run function amd:main/tick/second/1.14 | ||
execute if score $version version matches 1160..1161 run function amd:main/tick/second/1.16 | ||
execute if score $version version matches 1162.. run function amd:main/tick/second/1.16.2 | ||
|
||
# better compitiblity with other datapacks 1.5.6 | ||
# support for 1.14.X, 1.15.X, 1.16.1, 1.16.2 1.6.6 | ||
# removed nametag visiblity 1.6.7 | ||
# removed transaltion because it not used 1.6.8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Description: send the reload message 4 sekonds after reload | ||
# Called by: main/reload/reload | ||
# Datapack by 2mal3 | ||
|
||
tellraw @a[tag=!global.ignore,tag=!global.ignore.gui] ["",{"text":"[Server] Advanced Monsters Datapack v."},{"score":{"name":"$V1","objective":"amd.data"}},{"text":"."},{"score":{"name":"$V2","objective":"amd.data"}},{"text":"."},{"score":{"name":"$V3","objective":"amd.data"}},{"text":" by 2mal3 was loaded!"}] |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Description: Game loop for 1.14+ every second | ||
# Called by: main/reload/reload, main/tick/second | ||
# Datapack by 2mal3 | ||
|
||
# choose a random monster | ||
execute as @e[type=#amd:monsters/1.14,tag=!global.ignore,tag=!amd.transformed] at @s store result score @s amd.random run loot spawn ~ ~ ~ loot amd:random | ||
|
||
# transform the choosen monsters to advanced | ||
execute as @e[scores={amd.random=1},tag=!amd.transformed,tag=!global.ignore] at @s run function amd:transform/1.14 | ||
|
||
|
||
# tick | ||
schedule function amd:main/tick/second/1.14 1s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Description: Game loop for 1.16.2 every second | ||
# Called by: main/reload/reload, main/tick/second | ||
# Datapack by 2mal3 | ||
|
||
# choose a random monster | ||
execute as @e[type=#amd:monsters/1.16.2,tag=!global.ignore,tag=!amd.transformed] at @s store result score @s amd.random run loot spawn ~ ~ ~ loot amd:random | ||
|
||
# transform the choosen monsters to advanced | ||
execute as @e[scores={amd.random=1},tag=!amd.transformed,tag=!global.ignore] at @s run function amd:transform/1.16.2 | ||
|
||
|
||
# tick | ||
schedule function amd:main/tick/second/1.16.2 1s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Description: Game loop for 1.16 every second | ||
# Called by: main/reload/reload, main/tick/second | ||
# Datapack by 2mal3 | ||
|
||
# choose a random monster | ||
execute as @e[type=#amd:monsters/1.16,tag=!global.ignore,tag=!amd.transformed] at @s store result score @s amd.random run loot spawn ~ ~ ~ loot amd:random | ||
|
||
# transform the choosen monsters to advanced | ||
execute as @e[scores={amd.random=1},tag=!amd.transformed,tag=!global.ignore] at @s run function amd:transform/1.16 | ||
|
||
|
||
# tick | ||
schedule function amd:main/tick/second/1.16 1s |
12 changes: 6 additions & 6 deletions
12
data/amd/functions/main/tick.mcfunction → data/amd/functions/main/tick/tick.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# Description: tick | ||
# Called by: #tick | ||
# Datapack by 2mal3 | ||
|
||
# better advanced monsters projectiles | ||
execute as @e[scores={amd.random=1}] at @s run function amd:custom | ||
# Description: Game loop tick for 1.14+ | ||
# Called by: main/tick/tick/main | ||
# Datapack by 2mal3 | ||
|
||
# better advanced monsters projectiles | ||
execute as @e[scores={amd.random=1}] at @s run function amd:custom |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.