All Methods Static Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
void |
acknowledgePlayerDiggingReceived(ClientWorld worldIn,
BlockPos pos,
BlockState blockIn,
CPlayerDiggingPacket.Action action,
boolean successful) |
void |
attackEntity(PlayerEntity playerIn,
Entity targetEntity) |
boolean |
clickBlock(BlockPos loc,
Direction face) |
static void |
clickBlockCreative(Minecraft mcIn,
PlayerController playerController,
BlockPos pos,
Direction facing) |
ClientPlayerEntity |
createPlayer(ClientWorld worldIn,
StatisticsManager statsManager,
ClientRecipeBook recipes) |
boolean |
extendedReach() |
ActionResultType |
func_217292_a(ClientPlayerEntity p_217292_1_,
ClientWorld p_217292_2_,
Hand p_217292_3_,
BlockRayTraceResult p_217292_4_) |
boolean |
gameIsSurvivalOrAdventure() |
float |
getBlockReachDistance() |
GameType |
getCurrentGameType() |
boolean |
getIsHittingBlock() |
ActionResultType |
interactWithEntity(PlayerEntity player,
Entity target,
EntityRayTraceResult ray,
Hand hand) |
ActionResultType |
interactWithEntity(PlayerEntity player,
Entity target,
Hand hand) |
private boolean |
isHittingPosition(BlockPos pos) |
boolean |
isInCreativeMode() |
boolean |
isNotCreative() |
boolean |
isRidingHorse() |
boolean |
isSpectatorMode() |
boolean |
onPlayerDamageBlock(BlockPos posBlock,
Direction directionFacing) |
boolean |
onPlayerDestroyBlock(BlockPos pos) |
void |
onStoppedUsingItem(PlayerEntity playerIn) |
void |
pickItem(int index) |
ActionResultType |
processRightClick(PlayerEntity player,
World worldIn,
Hand hand) |
void |
resetBlockRemoving() |
private void |
sendDiggingPacket(CPlayerDiggingPacket.Action action,
BlockPos pos,
Direction dir) |
void |
sendEnchantPacket(int windowID,
int button) |
void |
sendPacketDropItem(ItemStack itemStackIn) |
void |
sendPlaceRecipePacket(int p_203413_1_,
IRecipe<?> p_203413_2_,
boolean p_203413_3_) |
void |
sendSlotPacket(ItemStack itemStackIn,
int slotId) |
void |
setGameType(GameType type) |
void |
setPlayerCapabilities(PlayerEntity player) |
boolean |
shouldDrawHUD() |
private void |
syncCurrentPlayItem() |
void |
tick() |
ItemStack |
windowClick(int windowId,
int slotId,
int mouseButton,
ClickType type,
PlayerEntity player) |