Ever since the moment Candles were added to the game over a year ago, they've never been able to properly display PBR textures. This led to a terrible visual experience whenever using them in game, but these issues can now be overcome! I've spent a lot of time creating an addon that is able to completely fix Candles with RTX!

At the most basic level, the addon works by replacing the vanilla candle block with my custom one. Through extensive work in the block behaviour files and with major assistance from the gametest scripting API, my custom candle replacement is a 100% accurate recreation of the original candle block! Here's an overview of the many features built into the addon:
Vanilla Candle Item Interaction Handling:
The addon will listen for player interactions with the original vanilla candle items, and cancel their original events in order to run my own. When you place a candle on a block, the gametest script will cancel the interaction and instead place the custom candle block in that location. Interacting with the custom candle block using a vanilla candle item will also cancel the placement event in order to instead add a candle to the custom candle block if possible.
Full Waterlogging Behaviours and Functionality:
Through using a combination of a waterlogged structure of the custom block and some advanced scripting code, my custom candles manage to perfectly recreate the waterlogging functionality of the original candle blocks. Interacting with the candle block using a water bucket will convert that item into an empty bucket, then replace the custom candle with a waterlogged structure of the item, disabling the ability to light the candle. When scooping up the water again, a raycast is used to find the exact block location the water is being scooped from and reactivates the ability to light the custom candle.

Compatibility With Old Worlds and Generated Structures:
Included in the scripting code is an optimized system that checks the chunks surrounding each player for any vanilla candles and replaces them with my custom candle block, but also perfectly matches the state of the vanilla candles that were replaced. This means that you can use the addon to fix candles on any world you like, whether newly created or being over 2 years old. This also results in seamless integration and conversion in structures such as the ancient city, which heavily rely on candles for lighting in many locations. Each time a chunk is checked, it is marked so that the conversion system will only look at new chunks. Everything runs only when absolutely necessary!
Other Addon Info:
You will need to use the following experiments to run the addon:

I'm super proud of this addon's perfect recreation of the vanilla candles, and the insane systems I've written to get it working as well as it does (It should even support other RTX resource packs as well!). Excited to see what you all will be able to do after finally getting working candles in RTX!
MADLAD3718
2024-04-24 21:26:00 +0000 UTCMADLAD3718
2024-04-24 21:24:59 +0000 UTCNils
2024-04-15 15:24:14 +0000 UTCJeremy Herbison
2024-03-22 21:13:50 +0000 UTCenbee
2024-01-06 02:08:59 +0000 UTCRachel
2023-05-13 16:36:15 +0000 UTCMADLAD3718
2023-05-13 16:25:16 +0000 UTCRachel
2023-05-13 16:15:30 +0000 UTCTyler
2023-03-13 12:21:55 +0000 UTCMADLAD3718
2022-10-01 20:39:49 +0000 UTCIts Arcade
2022-10-01 19:52:07 +0000 UTC