Skip to content

Commit

Permalink
Bump to version v2.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
2mal3 committed Apr 3, 2022
1 parent 3548c6b commit 827deaa
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 28 deletions.
52 changes: 31 additions & 21 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,34 @@

## Update v2.1.2 (3.1.2022)

### Changed:
- Compatible with 1.18.2
- Better compatibility with other datapacks
- Message colour set to green

### Fixed:
- Player head in the datapack advancement was not displayed correctly

***

## Update v2.1.1 (2.2.2022)

### Fixed:
- Redstone was not removed from the Chunk Loader
- Datapack indicated itself as incompatible with 1.18.x
- Chunk Loader has dropped itself when destroyed in creative mode
- Redstone was taken out of every Chunk Loader slot every time
- Redstone was not removed from the Chunk Loader
- Datapack indicated itself as incompatible with 1.18.x
- Chunk Loader has dropped itself when destroyed in creative mode
- Redstone was taken out of every Chunk Loader slot every time

***

## Update v2.1.0 (18.12.2021)

### Added:
- Option to disable the fuel consumption
- Option to disable the fuel consumption

### Changed:
- Made compatible with the 1.18
- [Internal] Better variable names
- Made compatible with the 1.18
- [Internal] Better variable names

***

Expand All @@ -25,23 +37,21 @@
Hey! I finally managed to release a new update, after almost half a year. This time I've added several sound and particle effects to the Chunk Loader, so it feels much more dynamic now. However, the biggest change is that the chunk loader now requires 3 Redstone Dust every minute. This is mainly to prevent people from placing a Chunk Loader somewhere in the world and then forgetting it, so the chunks are loaded but not used, which I experienced myself.

### Added:
- Chunk Loaders need redstone dust to run
- Placement, ambient and break particles
- Placement, ambient and break sounds
- Automatic test if the Resource Pack is loaded
- Automatic test if the right Minecraft version and server software is used
- Chunk Loaders need redstone dust to run
- Placement, ambient and break particles
- Placement, ambient and break sounds
- Automatic test if the Resource Pack is loaded
- Automatic test if the right Minecraft version and server software is used

### Changed:
- New crafting recipe (see new pictures)
- Now compatible with the 1.17
- Resource Pack integrated into the datapack. Now the file is the Resource Pack and Datapack at the same time.
- [Internal] Complete datapack switched to [mc-build](https://github.com/mc-build/mc-build)
- New crafting recipe (see new pictures)
- Now compatible with the 1.17
- Resource Pack integrated into the datapack. Now the file is the Resource Pack and Datapack at the same time.
- [Internal] Complete datapack switched to [mc-build](https://github.com/mc-build/mc-build)

### Fixed:
- Item pick up sound at crafting
- Item pick up sound at crafting

### Removed:
- Notifications when a chunk loader is placed or destroyed
- [Internal] Lantern Load library because it had no real use

***
- Notifications when a chunk loader is placed or destroyed
- [Internal] Lantern Load library because it had no real use
21 changes: 14 additions & 7 deletions src/chlo.mc
Original file line number Diff line number Diff line change
Expand Up @@ -206,14 +206,15 @@ dir core {
scoreboard objectives add 2mal3.debugMode dummy
scoreboard players set $requireFuel chlo.data 1
# Set the version in format: xx.xx.xx
scoreboard players set $version chlo.data 020101
scoreboard players set $version chlo.data 020102
schedule 4s replace {
tellraw @a [{"text":"Chunk Loader Datapack v2.1.1 by 2mal3 was installed!","color":"green"}]
tellraw @a [{"text":"Chunk Loader Datapack v2.1.2 by 2mal3 was installed!","color":"green"}]
}
}
execute if score %installed chlo.data matches 1 unless score $version chlo.data matches 020101 run {
execute if score %installed chlo.data matches 1 unless score $version chlo.data matches 020102 run {
log ChunkLoader info server <Update datapack ...>

# v2.1.0
execute if score $Version chlo.Data matches 020000 run {
log ChunkLoader info server <Updated from v2.0.0 to v2.1.0>
scoreboard objectives remove chlo.Data
Expand All @@ -222,16 +223,22 @@ dir core {
scoreboard players set $version chlo.data 020100
function chlo:core/install
}
# v2.1.1
execute if score $version chlo.data matches 020100 {
log ChunkLoader info server <Updated from v2.1.0 to v2.1.1>
scoreboard players set $version chlo.data 020101
}
# 2.1.2
execute if score $version chlo.data matches 020101 {
log ChunkLoader info server <Updated from v2.1.1 to v2.1.2>
scoreboard players set $version chlo.data 020102
}
}
}

advancement chlo {
"display": {
"title": "Chunk Loader v2.1.1",
"title": "Chunk Loader v2.1.2",
"description": "Adds a chunk loader to the game that allows you to permanently load chunks!",
"icon": {
"item": "minecraft:structure_block"
Expand Down Expand Up @@ -276,10 +283,10 @@ dir core {
# Deletes the scoreboards
scoreboard objectives remove chlo.data
# Sends an uninstallation message to all players
tellraw @a [{"text":"Chunk Loader Datapack v2.1.1 by 2mal3 was successfully uninstalled.","color": "green"}]
tellraw @a [{"text":"Chunk Loader Datapack v2.1.2 by 2mal3 was successfully uninstalled.","color": "green"}]
# Disables the datapack
datapack disable "file/Chunk-Loader-Datapack"
datapack disable "file/Chunk-Loader-Datapack-v2.1.1"
datapack disable "file/Chunk-Loader-Datapack-v2.1.1.zip"
datapack disable "file/Chunk-Loader-Datapack-v2.1.2"
datapack disable "file/Chunk-Loader-Datapack-v2.1.2.zip"
}
}

0 comments on commit 827deaa

Please sign in to comment.