Is there a equivalent of PlayerEntity.getPosition in the 1.16 version of Forge

前端 未结 0 830
予麋鹿
予麋鹿 2020-11-27 22:59

I\'m trying to create a pair of boots that allows the user to walk over lava. My code:

if (world.getFluidState(player.getPosition().down()).getFluid() == Flui         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题