类 PlayerUtils
java.lang.Object
committee.nova.mods.avaritia.api.util.PlayerUtils
PlayerUtil
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static booleancheckedPlaceBlock(net.minecraft.server.level.ServerPlayer player, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state) static booleanhasEditPermission(net.minecraft.server.level.ServerPlayer player, net.minecraft.core.BlockPos pos) static booleanisPlayingMode(net.minecraft.world.entity.player.Player player)
-
构造器详细资料
-
PlayerUtils
public PlayerUtils()
-
-
方法详细资料
-
isPlayingMode
public static boolean isPlayingMode(net.minecraft.world.entity.player.Player player) -
hasEditPermission
public static boolean hasEditPermission(net.minecraft.server.level.ServerPlayer player, net.minecraft.core.BlockPos pos) -
checkedPlaceBlock
public static boolean checkedPlaceBlock(net.minecraft.server.level.ServerPlayer player, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
-