Reputation: 65
Sorry, this may be a stupid question, but in version 36.1.35 there is no PlayerEntity#world and no Minecraft.getInstance().world or anything like that. So how do I get the world of a PlayerEntity then?
Upvotes: 3
Views: 2172
Reputation: 126
The field is called PlayerEntity#level
, it's inherited from Entity
.
Upvotes: 3