diff --git a/changelog.txt b/changelog.txt index b763c1f..ebdf3cb 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,4 +1,19 @@ +Update v1.4.1 (2.6.2021) + +This update finally makes the datapack completely compatible with the new version of Minecraft, so you can now use it on all 1.17 pre release worlds. +In addition, a few bugs and description errors have been fixed. + +Changed: +- The datapack is now compatible with the 1.17 +- Debug messages improved + +Bug fixes: +- Datapack description +- Wrong warn message with a incorrect server software + +---------------------------------------------------------------- + Update v1.4.0 (27.4.2021) This update actually only changes a few code internal things, but overall improves the quality and usability. diff --git a/data/2mal3/functions/admo/core/first_run/main.mcfunction b/data/2mal3/functions/admo/core/first_run/main.mcfunction index ef80f1a..c174dab 100644 --- a/data/2mal3/functions/admo/core/first_run/main.mcfunction +++ b/data/2mal3/functions/admo/core/first_run/main.mcfunction @@ -13,7 +13,7 @@ scoreboard objectives add admo.debug_mode dummy # Set start config scoreboard players set $transform_chance admo.data 10 # Set the version in format: xx.xx.xx -scoreboard players set $version admo.data 010400 +scoreboard players set $version admo.data 010401 # Creates a loaded sign for the datapck somewhere in the world forceload add 9232029 6397680 diff --git a/data/2mal3/functions/admo/core/first_run/send_message.mcfunction b/data/2mal3/functions/admo/core/first_run/send_message.mcfunction index 84f1c9b..ed41700 100644 --- a/data/2mal3/functions/admo/core/first_run/send_message.mcfunction +++ b/data/2mal3/functions/admo/core/first_run/send_message.mcfunction @@ -3,4 +3,4 @@ # Called from function: 2mal3:admo/core/first_run/main # Datapack by 2mal3 -tellraw @a [{"text":"Advanced Monsters Datapack v1.4.0 by 2mal3 was installed!","color":"blue"}] +tellraw @a [{"text":"Advanced Monsters Datapack v1.4.1 by 2mal3 was installed!","color":"blue"}] diff --git a/data/2mal3/functions/admo/core/first_run/update.mcfunction b/data/2mal3/functions/admo/core/first_run/update.mcfunction index 68c12cb..ea4496d 100644 --- a/data/2mal3/functions/admo/core/first_run/update.mcfunction +++ b/data/2mal3/functions/admo/core/first_run/update.mcfunction @@ -4,8 +4,8 @@ # Datapack by 2mal3 # Output debug message in chat, if enabled -tellraw @a[scores={admo.debug_mode=3..}] [{"text":"[","color":"gray"},{"text":"AdvancedMonsters","color":"green"},{"text":"/","color":"gray"},{"text":"INFO","color":"green"},{"text":"]: ","color":"gray"},{"text":"Updated datapack!","color":"green"}] +tellraw @a[scores={admo.debug_mode=3..}] [{"text":"[","color":"gray"},{"text":"AdvancedMonsters","color":"green"},{"text":"/","color":"gray"},{"text":"INFO","color":"green"},{"text":"]: ","color":"gray"},{"text":"Datapack updated","color":"green"}] # Set version variable in format xx.xx.xx -scoreboard players set .version nola.data 010400 +scoreboard players set .version nola.data 010401 diff --git a/data/2mal3/functions/admo/core/reload.mcfunction b/data/2mal3/functions/admo/core/reload.mcfunction index 091602e..e5330c0 100644 --- a/data/2mal3/functions/admo/core/reload.mcfunction +++ b/data/2mal3/functions/admo/core/reload.mcfunction @@ -12,7 +12,7 @@ scoreboard objectives add admo.data dummy # Initializes the datapack at the first startup or new version execute unless score .first_run admo.data matches 1 run function 2mal3:admo/core/first_run/main -execute if score .first_run admo.data matches 1 unless score $version admo.data matches 010400 run function 2mal3:admo/core/first_run/update +execute if score .first_run admo.data matches 1 unless score $version admo.data matches 010401 run function 2mal3:admo/core/first_run/update # Starts the loops schedule function 2mal3:admo/core/loop 1s replace diff --git a/data/2mal3/functions/admo/core/uninstall/uninstall.mcfunction b/data/2mal3/functions/admo/core/uninstall/uninstall.mcfunction index 5428251..6fd4566 100644 --- a/data/2mal3/functions/admo/core/uninstall/uninstall.mcfunction +++ b/data/2mal3/functions/admo/core/uninstall/uninstall.mcfunction @@ -21,8 +21,8 @@ setblock 9232029 1 6397680 minecraft:stone function 2mal3:random/uninstall # Sends an uninstallation message to all players -tellraw @a [{"text":"Advanced Monsters Datapack v1.4.0 by 2mal3 was successfully uninstalled."}] +tellraw @a [{"text":"Advanced Monsters Datapack v1.4.1 by 2mal3 was successfully uninstalled."}] # Disables the datapack -datapack disable "file/Advanced-Monsters-Datapack-v1.4.0" -datapack disable "file/Advanced-Monsters-Datapack-v1.4.0.zip" +datapack disable "file/Advanced-Monsters-Datapack-v1.4.1" +datapack disable "file/Advanced-Monsters-Datapack-v1.4.1.zip" diff --git a/pack.mcmeta b/pack.mcmeta index 41b7378..f724676 100644 --- a/pack.mcmeta +++ b/pack.mcmeta @@ -1,6 +1,6 @@ { "pack": { "pack_format": 7, - "description": "The Advanced Monsters Datapack v1.4.0 by 2mal3!" + "description": "The Advanced Monsters Datapack v1.4.1 by 2mal3!" } }