Skip to content
This repository has been archived by the owner on Aug 28, 2022. It is now read-only.

Commit

Permalink
🏷 Update v1.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
2mal3 committed Jun 2, 2021
1 parent b830d7f commit 483d329
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 9 deletions.
15 changes: 15 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion data/2mal3/functions/admo/core/first_run/main.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"}]
4 changes: 2 additions & 2 deletions data/2mal3/functions/admo/core/first_run/update.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion data/2mal3/functions/admo/core/reload.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 3 additions & 3 deletions data/2mal3/functions/admo/core/uninstall/uninstall.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion pack.mcmeta
Original file line number Diff line number Diff line change
@@ -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!"
}
}

0 comments on commit 483d329

Please sign in to comment.