Skip to content

Commit 5cf37f3

Browse files
committed
Add support for 1.21.11
- Added support for Minecraft 1.21.11 - Updated rain detection to use our own `#is_dry` biome tag combo instead of the now removed `#snow_golem_melts` tag - Removed broken hide feedback code for 1.21+ - Bumped pack format and protocol version
1 parent 0d94ae9 commit 5cf37f3

12 files changed

Lines changed: 20 additions & 31 deletions

File tree

.spyglassrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"env": {
3-
"gameVersion": "1.21.9"
3+
"gameVersion": "1.21.11"
44
},
55
"lint": {
66
"idOmitDefaultNamespace": ["warning", false],

CHANGES.md

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
1-
- **Added support for Minecraft 1.21.9** 🥉
2-
- Added Copper Torches and Copper Lanterns to light level 15 items
3-
- Updated to work with the new pack.mcmeta syntax
4-
- **Expanded the search area for dynamic light placement**
5-
This fixes dynamic lights not searching for space under their eye level, and generally improves the checking order including short-circuiting opportunities
6-
- Improved piston detection to search for slime or honey blocks in corners and behind other blocks
7-
This resolves an issue when using [Gnembon's Gold Farm](https://www.youtube.com/watch?v=DLe5-THpQ6I) (closes [#75](https://github.com/Tschipcraft/dynamiclights/issues/75))
8-
- Fixed Curios slot parsing issues (closes [#76](https://github.com/Tschipcraft/dynamiclights/issues/76))
9-
- Added Firefly Bushes to light level 3 items
10-
- Added mod support for [TerraFirmaCraft](https://modrinth.com/project/JaCEZUhg) (closes [#72](https://github.com/Tschipcraft/dynamiclights/issues/72)), [Bone Torch](https://www.curseforge.com/minecraft/mc-mods/sbm-bone-torch), and [Aquatic Torches](https://modrinth.com/project/yJR377od) (closes [#38](https://github.com/Tschipcraft/dynamiclights/issues/38))
1+
- **Added support for Minecraft 1.21.11** 🐎
2+
- Updated rain detection to use our own `#is_dry` biome tag combo instead of the now removed `#snow_golem_melts` tag
3+
- Removed broken hide feedback code for 1.21+
4+
- Bumped pack format and protocol version

data/dynamiclights/function/internal/version_checker/start.mcfunction

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
scoreboard objectives add ts.dl.version dummy
44
execute store result score $global ts.dl.version run data get entity @r DataVersion
5-
execute unless score $global tvc_ignore matches 1 if score $global ts.dl.version matches 4600.. run tellraw @a [{"text":"[Dynamic Lights] ","color":"gray"},{"text":"?","bold":true,"color":"gold"},{"text":" Future unknown Minecraft version above 1.21.9 detected! This data pack/mod may not work correctly anymore! Please make sure to check for updates in the menu! (","color":"gold"},{"text":"/trigger tschipcraft.menu","underlined":true,"color":"gold","click_event":{"action":"run_command","command":"trigger tschipcraft.menu"},"hover_event":{"action":"show_text","value":"Click here","text":"Click here"}},{"text":")","color":"gold"}]
5+
execute unless score $global tvc_ignore matches 1 if score $global ts.dl.version matches 4700.. run tellraw @a [{"text":"[Dynamic Lights] ","color":"gray"},{"text":"?","bold":true,"color":"gold"},{"text":" Future unknown Minecraft version above 1.21.11 detected! This data pack/mod may not work correctly anymore! Please make sure to check for updates in the menu! (","color":"gold"},{"text":"/trigger tschipcraft.menu","underlined":true,"color":"gold","click_event":{"action":"run_command","command":"trigger tschipcraft.menu"},"hover_event":{"action":"show_text","value":"Click here","text":"Click here"}},{"text":")","color":"gold"}]
66
# Note: 1.17x-1.20x uses the old folder names (function -> functions)
77

88
# Announce escape sequence handling changes
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
##by Tschipcraft
22
# Completes the rain check started in main_exec_pass.mcfunction (mc1.19.4+)
33

4-
execute if dimension minecraft:overworld unless biome ~ ~ ~ #minecraft:snow_golem_melts positioned over motion_blocking if entity @s[dy=999] run scoreboard players set @s ts.dl.in_rain 1
4+
execute if dimension minecraft:overworld unless biome ~ ~ ~ #dynamiclights:is_dry positioned over motion_blocking if entity @s[dy=999] run scoreboard players set @s ts.dl.in_rain 1

data/dynamiclights/function/settings/core.mcfunction

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,5 +74,4 @@ execute if score $global ts.dl.version matches 3337.. if score $water_sensitive
7474
execute if score $global ts.dl.version matches 3337.. if score $water_sensitive ts.dl.settings matches 1..2 if score $rain_sensitive ts.dl.settings matches 2 run tellraw @s [{"text":" └[✔] Rain Check","bold":false,"color":"gray","hover_event":{"action":"show_text","value":[{"text":"This setting is getting controlled globally and can't be changed here."}]}}]
7575
execute if score $global ts.dl.version matches 3337.. if score $water_sensitive ts.dl.settings matches -1..0 run tellraw @s [{"text":" └[❌] Rain Check","bold":false,"color":"gray","hover_event":{"action":"show_text","value":[{"text":"Please enable the water sensitivity check first."}]}}]
7676

77-
function dynamiclights:settings/hide_feedback/main
7877
playsound minecraft:block.dispenser.dispense master @s ~ ~ ~ 0.2 2

data/dynamiclights/function/settings/hide_feedback/hide.mcfunction

Lines changed: 0 additions & 4 deletions
This file was deleted.

data/dynamiclights/function/settings/hide_feedback/main.mcfunction

Lines changed: 0 additions & 6 deletions
This file was deleted.

data/dynamiclights/function/settings/hide_feedback/unhide.mcfunction

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"replace": false,
3+
"values": [
4+
"minecraft:desert",
5+
"#minecraft:is_badlands",
6+
"#minecraft:is_savanna",
7+
"#minecraft:is_nether",
8+
{"id": "#c:is_dry", "required": false},
9+
{"id": "#minecraft:snow_golem_melts", "required": false}
10+
]
11+
}
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
##by Tschipcraft
22

33
tellraw @s {"text":"The following packs are installed:","color":"gold"}
4-
function dynamiclights:settings/hide_feedback/main

0 commit comments

Comments
 (0)