Would it be possible to call EntityDeathEvent
{stacked amount} times when stacked entity is killed?
#391
-
Hi, My plugin counts the number of killed mobs, and with stacked entities only one death event is called which leads to inaccurate kill-count from the user's perspective. If the event were called multiple times for the stacked entity this would solve the inaccuracy. |
Beta Was this translation helpful? Give feedback.
Answered by
OmerBenGera
Dec 12, 2021
Replies: 1 comment
-
No, laggy af. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
OmerBenGera
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No, laggy af.
You can use StackedEntity#getStackAmount while in EntityDeathEvent to get the amount of times the mob has died.