-
Recently Browsing
- No registered users viewing this page.
-
Posts
-
By diesieben07 · Posted
Calling discard on an entity that is never even present in the world does nothing. Your renderer will still hold the reference to the entity and therefor prevent it from being garbage collected. What you should do is check that the level is still the same (use an == comparison on the level instance, do not check the dimension). If it has changed, remove the old entity. -
By diesieben07 · Posted
The version you are using is no longer supported on this forum. Please update to a modern version of Minecraft to receive support. Currently supported versions are 1.18.1/1.18.2 (Latest) and 1.16.5 (LTS). -
By diesieben07 · Posted
The field is called friction in Mojang names. -
By diesieben07 · Posted
Do not create a new Random instance every time. You might want to consider using Iterables.get instead of copying into a list every time. -
By diesieben07 · Posted
Particles are not entities. Particles are also entirely client side and controlled by the graphics options. If the user disables particles in the options you will not be able to detect them (because they do not exist). The game will also simply despawn old particles if there are too many. That said, you can get all particles from ParticleManager#particles (it is a private field, so you need reflection to access it).
-
-
Topics
-
Who's Online (See full list)
Recommended Posts