net.minecraft.client.multiplayer

public class MultiPlayerGameMode

dnr
net.minecraft.client.multiplayer.MultiPlayerGameMode
net.minecraft.class_636
net.minecraft.client.network.ClientPlayerInteractionManager
net.minecraft.client.multiplayer.PlayerController

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
a
LOGGER
field_20316
LOGGER
field_225325_a
private final Minecraft
b
minecraft
field_3712
client
field_78776_a
private final ClientPacketListener
c
connection
field_3720
networkHandler
field_78774_b
private BlockPos
d
destroyBlockPos
field_3714
currentBreakingPos
field_178895_c
private ItemStack
e
destroyingItem
field_3718
selectedStack
field_85183_f
private float
f
destroyProgress
field_3715
currentBreakingProgress
field_78770_f
private float
g
destroyTicks
field_3713
blockBreakingSoundCooldown
field_78780_h
private int
h
destroyDelay
field_3716
blockBreakingCooldown
field_78781_i
private boolean
i
isDestroying
field_3717
breakingBlock
field_78778_j
private GameType
j
localPlayerMode
field_3719
gameMode
field_78779_k
private final it.unimi.dsi.fastutil.objects.Object2ObjectLinkedOpenHashMap<com.mojang.datafixers.util.Pair<BlockPos, ServerboundPlayerActionPacket$Action>, PosAndRot>
k
unAckedActions
field_20317
unacknowledgedPlayerActions
field_225326_k
private int
l
carriedIndex
field_3721
lastSelectedSlot
field_78777_l

Constructor summary

ModifierConstructor
public (Minecraft arg0, ClientPacketListener arg1)

Method summary

Modifier and TypeMethod
public static void
a(dbn arg0, dnr arg1, fk arg2, fp arg3)
creativeDestroyBlock(Minecraft arg0, MultiPlayerGameMode arg1, BlockPos arg2, Direction arg3)
method_2921(class_310 arg0, class_636 arg1, class_2338 arg2, class_2350 arg3)
breakBlockOrFire(MinecraftClient client, ClientPlayerInteractionManager interactionManager, BlockPos pos, Direction direction)
func_178891_a(Minecraft arg0, PlayerController arg1, BlockPos arg2, Direction arg3)
public void
a(ayj arg0)
adjustPlayer(Player arg0)
method_2903(class_1657 arg0)
copyAbilities(PlayerEntity player)
func_78748_a(PlayerEntity arg0)
public void
a(bjt arg0)
setLocalMode(GameType arg0)
method_2907(class_1934 arg0)
setGameMode(GameMode gameMode)
func_78746_a(GameType arg0)
public boolean
a()
canHurtPlayer()
method_2908()
hasStatusBars()
func_78755_b()
public boolean
a(fk arg0)
destroyBlock(BlockPos arg0)
method_2899(class_2338 arg0)
breakBlock(BlockPos pos)
func_187103_a(BlockPos arg0)
public boolean
a(fk arg0, fp arg1)
startDestroyBlock(BlockPos arg0, Direction arg1)
method_2910(class_2338 arg0, class_2350 arg1)
attackBlock(BlockPos pos, Direction direction)
func_180511_b(BlockPos arg0, Direction arg1)
public void
b()
stopDestroyBlock()
method_2925()
cancelBlockBreaking()
func_78767_c()
public boolean
b(fk arg0, fp arg1)
continueDestroyBlock(BlockPos arg0, Direction arg1)
method_2902(class_2338 arg0, class_2350 arg1)
updateBlockBreakingProgress(BlockPos pos, Direction direction)
func_180512_c(BlockPos arg0, Direction arg1)
public float
c()
getPickRange()
method_2904()
getReachDistance()
func_78757_d()
public void
d()
tick()
method_2927()
tick()
func_78765_e()
private boolean
b(fk arg0)
sameDestroyTarget(BlockPos arg0)
method_2922(class_2338 arg0)
isCurrentlyBreaking(BlockPos pos)
func_178893_a(BlockPos arg0)
private void
m()
ensureHasSentCarriedItem()
method_2911()
syncSelectedSlot()
func_78750_j()
public InteractionResult
a(dqb arg0, dno arg1, ajk arg2, cvg arg3)
useItemOn(LocalPlayer arg0, ClientLevel arg1, InteractionHand arg2, BlockHitResult arg3)
method_2896(class_746 arg0, class_638 arg1, class_1268 arg2, class_3965 arg3)
interactBlock(ClientPlayerEntity player, ClientWorld world, Hand hand, BlockHitResult hitResult)
func_217292_a(ClientPlayerEntity arg0, ClientWorld arg1, Hand arg2, BlockRayTraceResult arg3)
public InteractionResult
a(ayj arg0, bjw arg1, ajk arg2)
useItem(Player arg0, Level arg1, InteractionHand arg2)
method_2919(class_1657 arg0, class_1937 arg1, class_1268 arg2)
interactItem(PlayerEntity player, World world, Hand hand)
func_187101_a(PlayerEntity arg0, World arg1, Hand arg2)
public LocalPlayer
a(dno arg0, aas arg1, dbc arg2)
createPlayer(ClientLevel arg0, StatsCounter arg1, ClientRecipeBook arg2)
method_2901(class_638 arg0, class_3469 arg1, class_299 arg2)
createPlayer(ClientWorld world, StatHandler stateHandler, ClientRecipeBook recipeBook)
func_199681_a(ClientWorld arg0, StatisticsManager arg1, ClientRecipeBook arg2)
public void
a(ayj arg0, akq arg1)
attack(Player arg0, Entity arg1)
method_2918(class_1657 arg0, class_1297 arg1)
attackEntity(PlayerEntity player, Entity target)
func_78764_a(PlayerEntity arg0, Entity arg1)
public InteractionResult
a(ayj arg0, akq arg1, ajk 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)
func_187097_a(PlayerEntity arg0, Entity arg1, Hand arg2)
public InteractionResult
a(ayj arg0, akq arg1, cvh arg2, ajk 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 arg1, EntityHitResult hitResult, Hand arg3)
func_187102_a(PlayerEntity arg0, Entity arg1, EntityRayTraceResult arg2, Hand arg3)
public ItemStack
a(int arg0, int arg1, int arg2, bav arg3, ayj 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 mouseButton, SlotActionType actionType, PlayerEntity player)
func_187098_a(int arg0, int arg1, int arg2, ClickType arg3, PlayerEntity arg4)
public void
a(int arg0, bgw<?> arg1, boolean arg2)
handlePlaceRecipe(int arg0, Recipe<?> arg1, boolean arg2)
method_2912(int arg0, class_1860<?> arg1, boolean arg2)
clickRecipe(int syncId, Recipe<?> recipe, boolean craftAll)
func_203413_a(int arg0, IRecipe<?> arg1, boolean arg2)
public void
a(int arg0, int arg1)
handleInventoryButtonClick(int arg0, int arg1)
method_2900(int arg0, int arg1)
clickButton(int syncId, int buttonId)
func_78756_a(int arg0, int arg1)
public void
a(ben arg0, int arg1)
handleCreativeModeItemAdd(ItemStack arg0, int arg1)
method_2909(class_1799 arg0, int arg1)
clickCreativeStack(ItemStack stack, int slotId)
func_78761_a(ItemStack arg0, int arg1)
public void
a(ben arg0)
handleCreativeModeItemDrop(ItemStack arg0)
method_2915(class_1799 arg0)
dropCreativeStack(ItemStack stack)
func_78752_a(ItemStack arg0)
public void
b(ayj arg0)
releaseUsingItem(Player arg0)
method_2897(class_1657 arg0)
stopUsingItem(PlayerEntity player)
func_78766_c(PlayerEntity arg0)
public boolean
e()
hasExperience()
method_2913()
hasExperienceBar()
func_78763_f()
public boolean
f()
hasMissTime()
method_2924()
hasLimitedAttackSpeed()
func_78762_g()
public boolean
g()
hasInfiniteItems()
method_2914()
hasCreativeInventory()
func_78758_h()
public boolean
h()
hasFarPickRange()
method_2926()
hasExtendedReach()
func_78749_i()
public boolean
i()
isServerControlledInventory()
method_2895()
hasRidingInventory()
func_110738_j()
public boolean
j()
isAlwaysFlying()
method_2928()
isFlyingLocked()
func_178887_k()
public GameType
k()
getPlayerMode()
method_2920()
getCurrentGameMode()
func_178889_l()
public boolean
l()
isDestroying()
method_2923()
isBreakingBlock()
func_181040_m()
public void
a(int arg0)
handlePickItem(int arg0)
method_2916(int arg0)
pickFromInventory(int slot)
func_187100_a(int arg0)
private void
a(qj$a arg0, fk arg1, fp arg2)
sendBlockAction(ServerboundPlayerActionPacket$Action arg0, BlockPos arg1, Direction arg2)
method_21706(class_2846$class_2847 arg0, class_2338 arg1, class_2350 arg2)
sendPlayerAction(PlayerActionC2SPacket$Action action, BlockPos pos, Direction direction)
func_225324_a(CPlayerDiggingPacket$Action arg0, BlockPos arg1, Direction arg2)
public void
a(dno arg0, fk arg1, byj arg2, qj$a arg3, boolean arg4)
handleBlockBreakAck(ClientLevel arg0, BlockPos arg1, BlockState arg2, ServerboundPlayerActionPacket$Action arg3, boolean arg4)
method_21705(class_638 arg0, class_2338 arg1, class_2680 arg2, class_2846$class_2847 arg3, boolean arg4)
processPlayerActionResponse(ClientWorld world, BlockPos pos, BlockState state, PlayerActionC2SPacket$Action action, boolean approved)
func_225323_a(ClientWorld arg0, BlockPos arg1, BlockState arg2, CPlayerDiggingPacket$Action arg3, boolean arg4)