net.minecraft.client.multiplayer

public class MultiPlayerGameMode

gfu
net.minecraft.client.multiplayer.MultiPlayerGameMode
net.minecraft.class_636
net.minecraft.client.network.ClientPlayerInteractionManager

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_20316
LOGGER
private final Minecraft
b
minecraft
field_3712
client
private final ClientPacketListener
c
connection
field_3720
networkHandler
private BlockPos
d
destroyBlockPos
field_3714
currentBreakingPos
private ItemStack
e
destroyingItem
field_3718
selectedStack
private float
f
destroyProgress
field_3715
currentBreakingProgress
private float
g
destroyTicks
field_3713
blockBreakingSoundCooldown
private int
h
destroyDelay
field_3716
blockBreakingCooldown
private boolean
i
isDestroying
field_3717
breakingBlock
private GameType
j
localPlayerMode
field_3719
gameMode
private GameType
k
previousLocalPlayerMode
field_24608
previousGameMode
private int
l
carriedIndex
field_3721
lastSelectedSlot

Constructor summary

ModifierConstructor
public (Minecraft client, ClientPacketListener networkHandler)

Method summary

Modifier and TypeMethod
public void
a(cpx arg0)
adjustPlayer(Player arg0)
method_2903(class_1657 arg0)
copyAbilities(PlayerEntity player)
public void
a(dhf arg0, dhf arg1)
setLocalMode(GameType arg0, GameType arg1)
method_32790(class_1934 arg0, class_1934 arg1)
setGameModes(GameMode gameMode, GameMode previousGameMode)
public void
a(dhf arg0)
setLocalMode(GameType arg0)
method_2907(class_1934 arg0)
setGameMode(GameMode gameMode)
public boolean
a()
canHurtPlayer()
method_2908()
hasStatusBars()
public boolean
a(jh arg0)
destroyBlock(BlockPos arg0)
method_2899(class_2338 arg0)
breakBlock(BlockPos pos)
public boolean
a(jh arg0, jm arg1)
startDestroyBlock(BlockPos arg0, Direction arg1)
method_2910(class_2338 arg0, class_2350 arg1)
attackBlock(BlockPos pos, Direction direction)
public void
b()
stopDestroyBlock()
method_2925()
cancelBlockBreaking()
public boolean
b(jh arg0, jm arg1)
continueDestroyBlock(BlockPos arg0, Direction arg1)
method_2902(class_2338 arg0, class_2350 arg1)
updateBlockBreakingProgress(BlockPos pos, Direction direction)
private void
a(gfk arg0, ggy arg1)
startPrediction(ClientLevel arg0, PredictiveAction arg1)
method_41931(class_638 arg0, class_7204 arg1)
sendSequencedPacket(ClientWorld world, SequencedPacketCreator packetCreator)
public void
c()
tick()
method_2927()
tick()
private boolean
b(jh arg0)
sameDestroyTarget(BlockPos arg0)
method_2922(class_2338 arg0)
isCurrentlyBreaking(BlockPos pos)
private void
m()
ensureHasSentCarriedItem()
method_2911()
syncSelectedSlot()
public InteractionResult
a(gkh arg0, bti arg1, fbu arg2)
useItemOn(LocalPlayer arg0, InteractionHand arg1, BlockHitResult arg2)
method_2896(class_746 arg0, class_1268 arg1, class_3965 arg2)
interactBlock(ClientPlayerEntity player, Hand hand, BlockHitResult hitResult)
private InteractionResult
b(gkh arg0, bti arg1, fbu arg2)
performUseItemOn(LocalPlayer arg0, InteractionHand arg1, BlockHitResult arg2)
method_41934(class_746 arg0, class_1268 arg1, class_3965 arg2)
interactBlockInternal(ClientPlayerEntity player, Hand hand, BlockHitResult hitResult)
public InteractionResult
a(cpx arg0, bti arg1)
useItem(Player arg0, InteractionHand arg1)
method_2919(class_1657 arg0, class_1268 arg1)
interactItem(PlayerEntity player, Hand hand)
public LocalPlayer
a(gfk arg0, axq arg1, flr arg2)
createPlayer(ClientLevel arg0, StatsCounter arg1, ClientRecipeBook arg2)
method_29357(class_638 arg0, class_3469 arg1, class_299 arg2)
createPlayer(ClientWorld world, StatHandler statHandler, ClientRecipeBook recipeBook)
public LocalPlayer
a(gfk arg0, axq arg1, flr arg2, boolean arg3, boolean arg4)
createPlayer(ClientLevel arg0, StatsCounter arg1, ClientRecipeBook arg2, boolean arg3, boolean arg4)
method_2901(class_638 arg0, class_3469 arg1, class_299 arg2, boolean arg3, boolean arg4)
createPlayer(ClientWorld world, StatHandler statHandler, ClientRecipeBook recipeBook, boolean lastSneaking, boolean lastSprinting)
public void
a(cpx arg0, bvk arg1)
attack(Player arg0, Entity arg1)
method_2918(class_1657 arg0, class_1297 arg1)
attackEntity(PlayerEntity player, Entity target)
public InteractionResult
a(cpx arg0, bvk arg1, bti arg2)
interact(Player arg0, Entity arg1, InteractionHand arg2)
method_2905(class_1657 arg0, class_1297 arg1, class_1268 arg2)
interactEntity(PlayerEntity player, Entity entity, Hand hand)
public InteractionResult
a(cpx arg0, bvk arg1, fbv arg2, bti arg3)
interactAt(Player arg0, Entity arg1, EntityHitResult arg2, InteractionHand arg3)
method_2917(class_1657 arg0, class_1297 arg1, class_3966 arg2, class_1268 arg3)
interactEntityAtLocation(PlayerEntity player, Entity entity, EntityHitResult hitResult, Hand hand)
public void
a(int arg0, int arg1, int arg2, ctn arg3, cpx arg4)
handleInventoryMouseClick(int arg0, int arg1, int arg2, ClickType arg3, Player arg4)
method_2906(int arg0, int arg1, int arg2, class_1713 arg3, class_1657 arg4)
clickSlot(int syncId, int slotId, int button, SlotActionType actionType, PlayerEntity player)
public void
a(int arg0, ddl arg1, boolean arg2)
handlePlaceRecipe(int arg0, RecipeDisplayId arg1, boolean arg2)
method_2912(int arg0, class_10298 arg1, boolean arg2)
clickRecipe(int syncId, NetworkRecipeId recipeId, boolean craftAll)
public void
a(int arg0, int arg1)
handleInventoryButtonClick(int arg0, int arg1)
method_2900(int arg0, int arg1)
clickButton(int syncId, int buttonId)
public void
a(cxp arg0, int arg1)
handleCreativeModeItemAdd(ItemStack arg0, int arg1)
method_2909(class_1799 arg0, int arg1)
clickCreativeStack(ItemStack stack, int slotId)
public void
a(cxp arg0)
handleCreativeModeItemDrop(ItemStack arg0)
method_2915(class_1799 arg0)
dropCreativeStack(ItemStack stack)
public void
b(cpx arg0)
releaseUsingItem(Player arg0)
method_2897(class_1657 arg0)
stopUsingItem(PlayerEntity player)
public boolean
d()
hasExperience()
method_2913()
hasExperienceBar()
public boolean
e()
hasMissTime()
method_2924()
hasLimitedAttackSpeed()
public boolean
f()
hasInfiniteItems()
method_2914()
hasCreativeInventory()
public boolean
g()
isServerControlledInventory()
method_2895()
hasRidingInventory()
public boolean
h()
isAlwaysFlying()
method_2928()
isFlyingLocked()
public GameType
i()
getPreviousPlayerMode()
method_28107()
getPreviousGameMode()
public GameType
j()
getPlayerMode()
method_2920()
getCurrentGameMode()
public boolean
k()
isDestroying()
method_2923()
isBreakingBlock()
public int
l()
getDestroyStage()
method_51888()
getBlockBreakingProgress()
public void
a(int arg0)
handlePickItem(int arg0)
method_2916(int arg0)
pickFromInventory(int slot)
public void
a(int arg0, int arg1, boolean arg2)
handleSlotStateChanged(int arg0, int arg1, boolean arg2)
method_54634(int arg0, int arg1, boolean arg2)
slotChangedState(int slot, int screenHandlerId, boolean newState)