Hi!, I'm trying to get a valor when modded living entity collides with the player. I'm trying:
if (this.position()==Player.position)
, but the Player.position has private access and i'm not sure if i can change it in someway.
If there's another way with collision boxes instead of positions it would be good too.
Sorry if this is not a big deal. I'm new and still learning on this.