public interface IPlayerController
Modifier and Type | Method and Description |
---|---|
boolean |
clickBlock(net.minecraft.util.math.BlockPos loc,
net.minecraft.util.EnumFacing face) |
default double |
getBlockReachDistance() |
net.minecraft.world.GameType |
getGameType() |
boolean |
hasBrokenBlock() |
boolean |
onPlayerDamageBlock(net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing side) |
net.minecraft.util.EnumActionResult |
processRightClick(net.minecraft.client.entity.EntityPlayerSP player,
net.minecraft.world.World world,
net.minecraft.util.EnumHand hand) |
net.minecraft.util.EnumActionResult |
processRightClickBlock(net.minecraft.client.entity.EntityPlayerSP player,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing direction,
net.minecraft.util.math.Vec3d vec,
net.minecraft.util.EnumHand hand) |
void |
resetBlockRemoving() |
void |
setHittingBlock(boolean hittingBlock) |
void |
syncHeldItem() |
net.minecraft.item.ItemStack |
windowClick(int windowId,
int slotId,
int mouseButton,
net.minecraft.inventory.ClickType type,
net.minecraft.entity.player.EntityPlayer player) |
void syncHeldItem()
boolean hasBrokenBlock()
boolean onPlayerDamageBlock(net.minecraft.util.math.BlockPos pos, net.minecraft.util.EnumFacing side)
void resetBlockRemoving()
net.minecraft.item.ItemStack windowClick(int windowId, int slotId, int mouseButton, net.minecraft.inventory.ClickType type, net.minecraft.entity.player.EntityPlayer player)
net.minecraft.world.GameType getGameType()
net.minecraft.util.EnumActionResult processRightClickBlock(net.minecraft.client.entity.EntityPlayerSP player, net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos, net.minecraft.util.EnumFacing direction, net.minecraft.util.math.Vec3d vec, net.minecraft.util.EnumHand hand)
net.minecraft.util.EnumActionResult processRightClick(net.minecraft.client.entity.EntityPlayerSP player, net.minecraft.world.World world, net.minecraft.util.EnumHand hand)
boolean clickBlock(net.minecraft.util.math.BlockPos loc, net.minecraft.util.EnumFacing face)
void setHittingBlock(boolean hittingBlock)
default double getBlockReachDistance()