GitBrincie212 / Apel-Mod

Apel is a library that brings particle animations to the table with flexible behaviour and a clean developer interface. It promises also lots of predefined shapes & paths to help the developer on their particle scene
Other
2 stars 1 forks source link

Make `ApelNetworkRenderer` distance check configurable #50

Open DarthSharkie opened 1 month ago

DarthSharkie commented 1 month ago

The ApelNetworkRenderer only sends instructions to the client if the player is within 32 blocks of the particle object's origin point (the point passed in via the DrawContext). This is likely to be too much or too little for some use cases, so this value should be made configurable, but continue to default to 32. Minecraft itself defaults to only rendering particles within 32 blocks of the player.

GitBrincie212 commented 1 month ago

I think we can also do this on server-side rendering so its not only client-side rendering that gets this benefit