net.minecraft.client.multiplayer

public class MultiPlayerGameMode

euy
net.minecraft.client.multiplayer.MultiPlayerGameMode
net.minecraft.class_636
net.minecraft.unmapped.C_uxbydbcj
net.minecraft.client.network.ClientPlayerInteractionManager
net.minecraft.client.network.ClientPlayerInteractionManager
net.minecraft.src.C_3905_

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_20316
f_qyebcxwl
LOGGER
LOGGER
f_105188_
private final Minecraft
b
minecraft
field_3712
f_hcpfiprw
client
client
f_105189_
private final ClientPacketListener
c
connection
field_3720
f_opzkhhwp
networkHandler
networkHandler
f_105190_
private BlockPos
d
destroyBlockPos
field_3714
f_vgxtktxe
currentBreakingPos
currentBreakingPos
f_105191_
private ItemStack
e
destroyingItem
field_3718
f_dfvrpeiu
selectedStack
selectedStack
f_105192_
private float
f
destroyProgress
field_3715
f_vjmblmzt
currentBreakingProgress
currentBreakingProgress
f_105193_
private float
g
destroyTicks
field_3713
f_dydhfibu
blockBreakingSoundCooldown
blockBreakingSoundCooldown
f_105194_
private int
h
destroyDelay
field_3716
f_eadbjwpx
blockBreakingCooldown
blockBreakingCooldown
f_105195_
private boolean
i
isDestroying
field_3717
f_nxuzgmph
breakingBlock
breakingBlock
f_105196_
private GameType
j
localPlayerMode
field_3719
f_tkgrjdvm
gameMode
gameMode
f_105197_
private GameType
k
previousLocalPlayerMode
field_24608
f_yjiwuquc
previousGameMode
previousGameMode
f_105198_
private int
l
carriedIndex
field_3721
f_wsqybnit
lastSelectedSlot
lastSelectedSlot
f_105200_

Constructor summary

ModifierConstructor
public (Minecraft client, ClientPacketListener networkHandler)

Method summary

Modifier and TypeMethod
public void
a(buc arg0)
adjustPlayer(Player arg0)
method_2903(class_1657 arg0)
m_knxyratu(C_jzrpycqo arg0)
copyAbilities(PlayerEntity player)
copyAbilities(PlayerEntity player)
m_105221_(C_1141_ arg0)
public void
a(cgu arg0, cgu arg1)
setLocalMode(GameType arg0, GameType arg1)
method_32790(class_1934 arg0, class_1934 arg1)
m_zuvahrwi(C_lghcpyvl arg0, C_lghcpyvl arg1)
setGameModes(GameMode gameMode, GameMode previousGameMode)
setGameModes(GameMode gameMode, GameMode previousGameMode)
m_171805_(C_1593_ p_171807_, C_1593_ arg1)
public void
a(cgu arg0)
setLocalMode(GameType arg0)
method_2907(class_1934 arg0)
m_hytbrepu(C_lghcpyvl arg0)
setGameMode(GameMode gameMode)
setGameMode(GameMode gameMode)
m_105279_(C_1593_ arg0)
public boolean
a()
canHurtPlayer()
method_2908()
m_qylavnyy()
hasStatusBars()
hasStatusBars()
m_105205_()
public boolean
a(gt arg0)
destroyBlock(BlockPos arg0)
method_2899(class_2338 arg0)
m_zhffzgft(C_hynzadkk arg0)
breakBlock(BlockPos pos)
breakBlock(BlockPos pos)
m_105267_(C_4675_ arg0)
public boolean
a(gt arg0, gy arg1)
startDestroyBlock(BlockPos arg0, Direction arg1)
method_2910(class_2338 arg0, class_2350 arg1)
m_hcwouypu(C_hynzadkk arg0, C_xpuuihxf arg1)
attackBlock(BlockPos pos, Direction direction)
attackBlock(BlockPos pos, Direction direction)
m_105269_(C_4675_ p_105271_, C_4687_ arg1)
public void
b()
stopDestroyBlock()
method_2925()
m_kudrmykk()
cancelBlockBreaking()
cancelBlockBreaking()
m_105276_()
public boolean
b(gt arg0, gy arg1)
continueDestroyBlock(BlockPos arg0, Direction arg1)
method_2902(class_2338 arg0, class_2350 arg1)
m_rswuwwqz(C_hynzadkk arg0, C_xpuuihxf arg1)
updateBlockBreakingProgress(BlockPos pos, Direction direction)
updateBlockBreakingProgress(BlockPos pos, Direction direction)
m_105283_(C_4675_ p_105285_, C_4687_ arg1)
private void
a(euv arg0, evv arg1)
startPrediction(ClientLevel arg0, PredictiveAction arg1)
method_41931(class_638 arg0, class_7204 arg1)
m_vvsqjptk(C_ghdnlrrw arg0, C_suesdakf arg1)
sendSequencedPacket(ClientWorld world, SequencedPacketCreator packetCreator)
m_vvsqjptk(ClientWorld world, C_suesdakf arg1)
m_233729_(C_3899_ p_233731_, C_213406_ arg1)
public float
c()
getPickRange()
method_2904()
m_lrsrslxa()
getReachDistance()
getReachDistance()
m_105286_()
public void
d()
tick()
method_2927()
m_muorvszp()
tick()
tick()
m_105287_()
private boolean
b(gt arg0)
sameDestroyTarget(BlockPos arg0)
method_2922(class_2338 arg0)
m_vqqvsgnm(C_hynzadkk arg0)
isCurrentlyBreaking(BlockPos pos)
isCurrentlyBreaking(BlockPos pos)
m_105281_(C_4675_ arg0)
private void
n()
ensureHasSentCarriedItem()
method_2911()
m_txnoxxob()
syncSelectedSlot()
syncSelectedSlot()
m_105297_()
public InteractionResult
a(eyw arg0, bai arg1, dwm arg2)
useItemOn(LocalPlayer arg0, InteractionHand arg1, BlockHitResult arg2)
method_2896(class_746 arg0, class_1268 arg1, class_3965 arg2)
m_hrpyzrid(C_jlopmfei arg0, C_laxmzoqs arg1, C_jdakttms arg2)
interactBlock(ClientPlayerEntity player, Hand hand, BlockHitResult hitResult)
interactBlock(ClientPlayerEntity player, Hand hand, BlockHitResult hitResult)
m_233732_(C_4105_ p_233734_, C_470_ p_233735_, C_3041_ arg2)
private InteractionResult
b(eyw arg0, bai arg1, dwm arg2)
performUseItemOn(LocalPlayer arg0, InteractionHand arg1, BlockHitResult arg2)
method_41934(class_746 arg0, class_1268 arg1, class_3965 arg2)
m_wiqrsdhj(C_jlopmfei arg0, C_laxmzoqs arg1, C_jdakttms arg2)
interactBlockInternal(ClientPlayerEntity player, Hand hand, BlockHitResult hitResult)
m_wiqrsdhj(ClientPlayerEntity arg0, Hand arg1, BlockHitResult arg2)
m_233746_(C_4105_ p_233748_, C_470_ p_233749_, C_3041_ arg2)
public InteractionResult
a(buc arg0, bai arg1)
useItem(Player arg0, InteractionHand arg1)
method_2919(class_1657 arg0, class_1268 arg1)
m_pshwfabw(C_jzrpycqo arg0, C_laxmzoqs arg1)
interactItem(PlayerEntity player, Hand hand)
interactItem(PlayerEntity player, Hand hand)
m_233721_(C_1141_ p_233723_, C_470_ arg1)
public LocalPlayer
a(euv arg0, akh arg1, efh arg2)
createPlayer(ClientLevel arg0, StatsCounter arg1, ClientRecipeBook arg2)
method_29357(class_638 arg0, class_3469 arg1, class_299 arg2)
m_ljouiwkb(C_ghdnlrrw arg0, C_udjcmsxa arg1, C_sjlfgpfd arg2)
createPlayer(ClientWorld world, StatHandler statHandler, ClientRecipeBook recipeBook)
createPlayer(ClientWorld world, StatHandler statHandler, ClientRecipeBook recipeBook)
m_105246_(C_3899_ p_105248_, C_136_ p_105249_, C_3375_ arg2)
public LocalPlayer
a(euv arg0, akh arg1, efh 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)
m_ajcsdguj(C_ghdnlrrw arg0, C_udjcmsxa arg1, C_sjlfgpfd arg2, boolean arg3, boolean arg4)
createPlayer(ClientWorld world, StatHandler statHandler, ClientRecipeBook recipeBook, boolean lastSneaking, boolean lastSprinting)
createPlayer(ClientWorld world, StatHandler statHandler, ClientRecipeBook recipeBook, boolean lastSneaking, boolean lastSprinting)
m_105250_(C_3899_ p_105252_, C_136_ p_105253_, C_3375_ p_105254_, boolean p_105255_, boolean arg4)
public void
a(buc arg0, bbn arg1)
attack(Player arg0, Entity arg1)
method_2918(class_1657 arg0, class_1297 arg1)
m_htotpgaw(C_jzrpycqo arg0, C_astfners arg1)
attackEntity(PlayerEntity player, Entity target)
attackEntity(PlayerEntity player, Entity target)
m_105223_(C_1141_ p_105225_, C_507_ arg1)
public InteractionResult
a(buc arg0, bbn arg1, bai arg2)
interact(Player arg0, Entity arg1, InteractionHand arg2)
method_2905(class_1657 arg0, class_1297 arg1, class_1268 arg2)
m_cavqoyzl(C_jzrpycqo arg0, C_astfners arg1, C_laxmzoqs arg2)
interactEntity(PlayerEntity player, Entity entity, Hand hand)
interactEntity(PlayerEntity player, Entity entity, Hand hand)
m_105226_(C_1141_ p_105228_, C_507_ p_105229_, C_470_ arg2)
public InteractionResult
a(buc arg0, bbn arg1, dwn arg2, bai arg3)
interactAt(Player arg0, Entity arg1, EntityHitResult arg2, InteractionHand arg3)
method_2917(class_1657 arg0, class_1297 arg1, class_3966 arg2, class_1268 arg3)
m_thyiczms(C_jzrpycqo arg0, C_astfners arg1, C_wokbhynj arg2, C_laxmzoqs arg3)
interactEntityAtLocation(PlayerEntity player, Entity entity, EntityHitResult hitResult, Hand hand)
interactEntityAtLocation(PlayerEntity player, Entity entity, EntityHitResult hitResult, Hand hand)
m_105230_(C_1141_ p_105232_, C_507_ p_105233_, C_3042_ p_105234_, C_470_ arg3)
public void
a(int arg0, int arg1, int arg2, bwv arg3, buc 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)
m_jlukryuq(int arg0, int arg1, int arg2, C_viureuve arg3, C_jzrpycqo arg4)
clickSlot(int syncId, int slotId, int button, SlotActionType actionType, PlayerEntity player)
clickSlot(int syncId, int slotId, int button, SlotActionType actionType, PlayerEntity player)
m_171799_(int p_171801_, int p_171802_, int p_171803_, C_1245_ p_171804_, C_1141_ arg4)
public void
a(int arg0, cdp<?> arg1, boolean arg2)
handlePlaceRecipe(int arg0, Recipe<?> arg1, boolean arg2)
method_2912(int arg0, class_1860<?> arg1, boolean arg2)
m_wsfmquvc(int arg0, C_awrmdwqd<?> arg1, boolean arg2)
clickRecipe(int syncId, Recipe<?> recipe, boolean craftAll)
clickRecipe(int syncId, Recipe<?> recipe, boolean craftAll)
m_105217_(int p_105219_, C_1469_<?> p_105220_, boolean arg2)
public void
a(int arg0, int arg1)
handleInventoryButtonClick(int arg0, int arg1)
method_2900(int arg0, int arg1)
m_smegevhc(int arg0, int arg1)
clickButton(int syncId, int buttonId)
clickButton(int syncId, int buttonId)
m_105208_(int p_105210_, int arg1)
public void
a(cax arg0, int arg1)
handleCreativeModeItemAdd(ItemStack arg0, int arg1)
method_2909(class_1799 arg0, int arg1)
m_myychqxr(C_sddaxwyk arg0, int arg1)
clickCreativeStack(ItemStack stack, int slotId)
clickCreativeStack(ItemStack stack, int slotId)
m_105241_(C_1391_ p_105243_, int arg1)
public void
a(cax arg0)
handleCreativeModeItemDrop(ItemStack arg0)
method_2915(class_1799 arg0)
m_kerknadm(C_sddaxwyk arg0)
dropCreativeStack(ItemStack stack)
dropCreativeStack(ItemStack stack)
m_105239_(C_1391_ arg0)
public void
b(buc arg0)
releaseUsingItem(Player arg0)
method_2897(class_1657 arg0)
m_yhqdomcj(C_jzrpycqo arg0)
stopUsingItem(PlayerEntity player)
stopUsingItem(PlayerEntity player)
m_105277_(C_1141_ arg0)
public boolean
e()
hasExperience()
method_2913()
m_bkeaexip()
hasExperienceBar()
hasExperienceBar()
m_105288_()
public boolean
f()
hasMissTime()
method_2924()
m_qsusaivg()
hasLimitedAttackSpeed()
hasLimitedAttackSpeed()
m_105289_()
public boolean
g()
hasInfiniteItems()
method_2914()
m_qshbzlht()
hasCreativeInventory()
hasCreativeInventory()
m_105290_()
public boolean
h()
hasFarPickRange()
method_2926()
m_pmfwcbrf()
hasExtendedReach()
hasExtendedReach()
m_105291_()
public boolean
i()
isServerControlledInventory()
method_2895()
m_wflwwroo()
hasRidingInventory()
hasRidingInventory()
m_105292_()
public boolean
j()
isAlwaysFlying()
method_2928()
m_mbzgqzbz()
isFlyingLocked()
isFlyingLocked()
m_105293_()
public GameType
k()
getPreviousPlayerMode()
method_28107()
m_nmkqlnik()
getPreviousGameMode()
getPreviousGameMode()
m_105294_()
public GameType
l()
getPlayerMode()
method_2920()
m_idhtrlsh()
getCurrentGameMode()
getCurrentGameMode()
m_105295_()
public boolean
m()
isDestroying()
method_2923()
m_wlmcfvay()
isBreakingBlock()
isBreakingBlock()
m_105296_()
public void
a(int arg0)
handlePickItem(int arg0)
method_2916(int arg0)
m_kdryujbt(int arg0)
pickFromInventory(int slot)
pickFromInventory(int slot)
m_105206_(int arg0)