- Support for Minecraft 1.21 ⚔️ (closes #29, #41, #42, #44)
- Copied the contents of the legacy folders to their new names and removed unused code
- Used new enchantment check format in predicates
- Updated menu trigger to use advancements instead and added menu message header
- Fixed performance overlay for Minecraft 1.20.2+ not having an effect
- Updated LICENSE
Hotfix for v1.8 - the data pack now actually includes the overlays for compatibility with 1.20.6 (closes #34)
- Update to Minecraft 1.20.6 🐺
These changes utilize overlays to maintain backwards compatibility- Switched to testing components rather than NBT in predicates
- Added support for the newly added contents slot in predicates
- Added intermediate light levels 3 and 12 (#14)
- Magma cubes, magma blocks, magma cream, all remaining amethyst buds, heart of the sea and totem of undying (closes #23) now emit light level 3
- Dragon fireballs now emit light level 12 instead of 15
- Implemented a new system for finding valid locations for dynamic lights.
Checks now actively avoid blocking paths of fluids and pistons (closes #15), interfering with other redstone components and triggering certain block updates (closes #12) - Added support for parsing item displays, block displays and falling blocks
- Added support for parsing tridents, arrows and ominous item spawners in versions 1.20.5 and up
- Simplified light block placement and removal
- Fixed shulkers teleporting away when shooting (closes #20)
- Eventified item frame reparsing in versions before 1.20.5
Item frame reparsing is now triggered when a player right-clicks on an item frame or when an item drops nearby in versions prior to 24w11a
This should improve performance in regions with a high number of item frames while also improving responsiveness (first steps for #13) - Improved dynamic light explosion avoidance performance by checking a global score instead of scanning for nearby area effect clouds
- Fixed dynamic lights overwriting cave_air with air
- Fixed dynamic light position offset for item entities
- Added separate mod support tag lists for modded items
- Added additional overlay that should slightly improve performance when placing dynamic lights in 1.20.2 and above
- Gave dynamic light marker entities a custom name (#19)
- Some light level changes
- Added conduit to light level 15 items
- Moved glowstone dust from light level 15 to light level 9
- Added crying obsidian to light level 9 items
- Added small_fireball to light level 9 entities
- Moved allay from 9 to light level 6 entities
- Added enchanted golden apple, enchanting table, enchanted book, sculk catalyst and the upcoming vault to light level 6 items
- Added paintings to the ignore tag list
- Added tnt minecarts to the may_block_explosion_damage tag list
- Update to Minecraft 1.20.6 🐺
These changes utilize overlays to maintain backwards compatibility- Switched to testing components rather than NBT in predicates
- Added support for the newly added contents slot in predicates
- Added intermediate light levels 3 and 12 (#14)
- Magma cubes, magma blocks, magma cream, all remaining amethyst buds, heart of the sea and totem of undying (closes #23) now emit light level 3
- Dragon fireballs now emit light level 12 instead of 15
- Implemented a new system for finding valid locations for dynamic lights
Checks now actively avoid blocking paths of fluids and pistons (closes #15), interfering with other redstone components and triggering certain block updates (closes #12) - Added support for parsing item displays, block displays and falling blocks
- Added support for parsing tridents, arrows and ominous item spawners in versions 1.20.5 and up
- Simplified light block placement and removal
- Fixed shulkers teleporting away when shooting (closes #20)
- Eventified item frame reparsing in versions before 1.20.5
Item frame reparsing is now triggered when a player right-clicks on an item frame or when an item drops nearby in versions prior to 24w11a
This should improve performance in regions with a high number of item frames while also improving responsiveness (first steps for #13) - Improved dynamic light explosion avoidance performance by checking a global score instead of scanning for nearby area effect clouds
- Fixed dynamic lights overwriting cave_air with air
- Fixed dynamic light position offset for item entities
- Added separate mod support tag lists for modded items
- Added additional overlay that should slightly improve performance when placing dynamic lights in 1.20.2 and above
- Gave dynamic light marker entities a custom name (#19)
- Some light level changes
- Added conduit to light level 15 items
- Moved glowstone dust from light level 15 to light level 9
- Added crying obsidian to light level 9 items
- Added small_fireball to light level 9 entities
- Moved allay from 9 to light level 6 entities
- Added enchanted golden apple, enchanting table, enchanted book, sculk catalyst and the upcoming vault to light level 6 items
- Added paintings to the ignore tag list
- Added tnt minecarts to the may_block_explosion_damage tag list
- Update to Minecraft 1.20.4 🦇
- Improved performance of light placement checks
- Moved dynamic light spawn location to eye level
- Added global function API calls for placing dynamic lights
- Added a check before removing light markers to make sure the light block itself got removed first
- Added interaction entities to the ignore tag list
- Added a mod version with the exclusive addition of a global settings menu and config file, when installed alongside MidnightLib ⚙️
- Added Catalogue support
- Added custom Data Pack ModMenu badge using ModMenu Badges Lib
- Added Rain Check - If enabled, touching rain counts as being inside water
- Added new icon
- Added Shulker Bullets to light level 6 entities
- Reformatted ingame menus
- Added global
/function #tschipcraft:menu
command - Fixed sculk sensors getting triggered upon dynamic light removal (closes #8), location changes and item frame updates
- Fixed overwriting player placed light blocks (closes #7)
- Fixed Ghast desync when no player is near
- Fixed TNT not breaking blocks when ignited with a flame bow (#10)
- Fixed TNT dupers not working correctly (#10)
- Fixed End Crystals not breaking blocks when exploding
- Fixed Flying Wither Skulls not breaking blocks
- Fixed exploding Creepers not breaking blocks when burning
- Added new custom license
- Update to Minecraft 1.20 🐪 (closes #5)
- Complete rewrite of existing light block place engine and predicate logic
- Predicates and tag lists have been expanded to items and item frames. They are no longer hard-coded!
- Added water sensitive items
- Added sound cues for water sensitive items
- Added options to configure dynamic light sources (closes #3)
- Added option to give entities with the glowing potion effect light level 6
- Added light level 15 to Ghasts that are about to shoot a fireball
- Added light level 6 to amethyst trimmed armor
- Configured Sea Pickles and Prismarine Crystals to only turn on inside water
- Added Amethyst Clusters to light level 6 items
- Moved TNT to light level 6 entities
- Moved Blazes from light level 15 to 9, making a visual difference when angered
- Added Lightning Bolts to light level 15 entities
- Tidied up tag lists and naming inconsistencies
- Fixed triggered campfire_check to apply its lock to the whole entity
- Fixed water sensitive items turning off and on when floating on the water surface
- Removed redundant how to use message
- Mobs holding or wearing light emitting items will now produce light 🐱🏍
- Item frames containing light emitting items will now also produce light
- End Crystals, Dragon Fireballs and regular Fireballs will now emit light level 15
- Firework Rockets, Wither Skulls and Allays will now emit light level 9
- Items enchanted with Fire Aspect will now emit light level 9, all other enchantments light level 6
- Added Campfires, Beacons and all the Froglights to light level 15 items
- Added Soul Campfires, Prismarine Crystals, Blaze Rods, Spectral Arrows and End Crystals to light level 9 items
- Added Fire Charges, Nether Stars, Blaze Powder, Amethyst Shards and Ender Chests to light level 6 items
- Moved Glow Lichen from light level 9 to 6 items
- Increased performance by extensively using predicates
- Increased frequency of light updates to 1 tick (every 2 ticks before)
- Increased active dynamic light radius around players from 30 to 65 blocks
- Fixed incompatibility with Amethyst Golem data pack
- Fixed cave air not lighting up
- Fixed campfires with their BlockStateTag lit set to false still emitting light (Ensures compatibility with The Creeper's Code)
- This data pack now follows the Smithed and essential MC Datapack Discord Server Conventions to ensure data pack compatibility!
- Added a wiki!
Note
Please uninstall the previous version of this data pack (/function dynamiclights:uninstall
) before you install this version, if you are upgrading from v1.4!
Initial release on Modrinth ✨
Changelog since v1.3:
- Update to Minecraft 1.19 🐸
- Switched to item tags regarding held items internally thus increasing performance
- Added tvc_ignore implementation