1.21 Support
DarkAsgard124 opened this issue · 9 comments
Describe the bug
No response
Steps to reproduce
No response
Expected behavior
No response
Additional context
I know this is probably one of 200 other requests for 1.21 support. But I am making a Realm map, torches emitting light while being held is one of most important systems in the map. Is there any way to enable the datapack to work with 1.21, I don't need it to work with new blocks that have been added in 1.21 , just old regular ones from 1.20.6 but make it work with 1.21 . Thank you in advance.
I really need it as soon as possible, but i cant find any other person on whole internet that does that you do. If you arent able to do it right now, can you explain the process of updating it to version 1.21 so i can try to do it if it isnt too complicated.
1.21 introduced a bunch of directory renames. If you don't care about enchantment detection and/or backwards compatibility, that's the only thing you need to worry about.
Download the latest release, unzip it and rename the folders
functions
tofunction
predicates
topredicate
tags/blocks
totags/block
tags/items
totags/item
tags/entity_types
totags/entity_type
tags/functions
totags/function
in data/dynamiclights
, data/minecraft
, data/tschipcraft
, overlay_33/data/dynamiclights
and overlay_35/data/dynamiclights
. This should be enough to get Dynamic Lights running in 1.21. You might need to disable light emitting from enchantments in the settings though.
Do also keep the license in mind and provide credit when releasing the map.
Does this work around also work for the datapack or just the mod since enchantment detection isn't configurable on the pack?
I have tried it, the game doesnt even recognize it as a datapack, when i put old one, it appears but red and game says its made for older version, when i put in the one that i have edited, nothing appears
Does this work around also work for the datapack or just the mod since enchantment detection isn't configurable on the pack?
This workaround is tailored for the data pack version, all settings from the mod version are also available there (/function dynamiclights:settings
)
I have tried it, the game doesnt even recognize it as a datapack, when i put old one, it appears but red and game says its made for older version, when i put in the one that i have edited, nothing appears
You may have rezipped the edited version incorrectly. Make sure that the data folder and pack.mcmeta are in the first level (dynamiclights-edited.zip ⇾ data, overlay_..., pack.mcmeta, ...)
If that doesn't solve the problem, attach your most recent Minecraft log, so I can take a look.
Fixed it, i made it .rar file instead of .zip
Any way to disable the "Minecraft version 1.21 or above detected". I cant send the map for reviewing with any error messages, bugs and other stuff like thet.
Yes, run the command /scoreboard players set $global tvc_ignore 1
. Make sure to not reset the scoreboards before publishing the map.
Edit: My bad, this might not have worked since I used a different message this time (because I knew it's incompatible). You'll need to remove the first tellraw command in /data/dynamiclights/functions/internal/version_checker/start.mcfunction:
execute if score $global ts.dl.version matches 3900.. run tellraw @a [{"text":"[Dynamic Lights] ","color":"gray"},{"text":"\u26a0 Minecraft version ","color":"red"},{"text":"1.21 or above","color":"red","bold":true},{"text":" detected! This version of the data pack does not work in 1.21+! Please use a newer version.","color":"red"}]
Duplicate of #29