SakeTami
MADLAD3718
MADLAD3718

patreon


RTX Candles Fix Addon - Early Access!

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!

RTX Candles Fix Addon - Early Access! RTX Candles Fix Addon - Early Access!

Comments

I will be publishing a new version of the addon fairly soon for the latest version of the game!

MADLAD3718

Absolutely! I've been doing some work behind the scenes to keep it compatible with new scripting API changes, and I'm going to be publishing another release of it sometime in the near future.

MADLAD3718

Are there any plans for updating this to work on current versions?

Nils

Would love to get this working! Actually subscribed specifically for this so a bit sad it isn't actually working :(

Jeremy Herbison

Is there any way to get this to work now or is it still broken due to the api changes?

enbee

Oh, sweet!

Rachel

The addon has not been updated for the latest script api changes yet. I'll be working on it soon, since we're finally releasing BetterRTX today!

MADLAD3718

I'm having the same issue as Tyler

Rachel

I can't seem to get this addon to work. I've made sure to enable both experiments and am using Defined PBR (v 1.1.8). When I try placing a candle, it flashes as if it was going to place then disappears. Something interesting about my Minecraft build (v 1.19.63) is the experiment titled "GameTest Framework" is no longer present but seems to be replaced with "Beta APIs", which I'm assuming is an updated name. I'm not sure if what I'm experiencing is a recent bug caused by a game update or if I'm just being an idiot. Please let me know! I've been eager to finally enjoy my candle-heavy builds with proper lighting!

Tyler

When designing the addon I made sure to match vanilla as closely as possible. The candles will drop the correct amount of items when you break them, just in a single item stack.

MADLAD3718

nice fix for the candles, tho the only problem with it is that in survival if you place down some candles and break them you get a different item and you only receive one even if there was more than 1 candle

Its Arcade


More Creators