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
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.
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 theDrawContext
). 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.