All Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
boolean |
attackBlock(BlockPos pos,
Direction direction) |
void |
attackEntity(PlayerEntity player,
Entity target) |
boolean |
breakBlock(BlockPos pos) |
void |
cancelBlockBreaking() |
void |
clickButton(int syncId,
int buttonId) |
void |
clickCreativeStack(ItemStack stack,
int slotId) |
void |
clickRecipe(int syncId,
Recipe<?> recipe,
boolean craftAll) |
ItemStack |
clickSlot(int syncId,
int slotId,
int clickData,
SlotActionType actionType,
PlayerEntity player) |
void |
copyAbilities(PlayerEntity player) |
ClientPlayerEntity |
createPlayer(ClientWorld world,
StatHandler statHandler,
ClientRecipeBook recipeBook) |
ClientPlayerEntity |
createPlayer(ClientWorld world,
StatHandler statHandler,
ClientRecipeBook recipeBook,
boolean lastSneaking,
boolean lastSprinting) |
void |
dropCreativeStack(ItemStack stack) |
GameMode |
getCurrentGameMode() |
GameMode |
getPreviousGameMode() |
float |
getReachDistance() |
boolean |
hasCreativeInventory() |
boolean |
hasExperienceBar() |
boolean |
hasExtendedReach() |
boolean |
hasLimitedAttackSpeed() |
boolean |
hasRidingInventory() |
boolean |
hasStatusBars() |
ActionResult |
interactBlock(ClientPlayerEntity player,
ClientWorld world,
Hand hand,
BlockHitResult hitResult) |
ActionResult |
interactEntity(PlayerEntity player,
Entity entity,
Hand hand) |
ActionResult |
interactEntityAtLocation(PlayerEntity player,
Entity entity,
EntityHitResult hitResult,
Hand hand) |
ActionResult |
interactItem(PlayerEntity player,
World world,
Hand hand) |
boolean |
isBreakingBlock() |
private boolean |
isCurrentlyBreaking(BlockPos pos) |
boolean |
isFlyingLocked() |
void |
pickFromInventory(int slot) |
void |
processPlayerActionResponse(ClientWorld world,
BlockPos pos,
BlockState state,
PlayerActionC2SPacket.Action action,
boolean approved) |
private void |
sendPlayerAction(PlayerActionC2SPacket.Action action,
BlockPos pos,
Direction direction) |
void |
setGameMode(GameMode gameMode) |
void |
setPreviousGameMode(GameMode gameMode) |
void |
stopUsingItem(PlayerEntity player) |
private void |
syncSelectedSlot() |
void |
tick() |
boolean |
updateBlockBreakingProgress(BlockPos pos,
Direction direction) |