Closed J0B10 closed 2 years ago
be carefull tough. You can add items to pebbles ore-dic using <ore:pebble>.add(item)
.
Any item with this entry will vanish in the blink of an eye when dropped in the world.
Does this have an impact on performance?
I observed none.
Theoretically it should not have one as the event listener is only called if an entity is spawned and everything is O(1)
I did some further testing & profiling to verify that it has no big impact on performance:
Therefore performance of event handlers such as this one should be of no concern.