net.minecraft.server.level

public class ServerPlayerGameMode

arf
net.minecraft.server.level.ServerPlayerGameMode
net.minecraft.class_3225
net.minecraft.unmapped.C_egnasquq
net.minecraft.server.network.ServerPlayerInteractionManager
net.minecraft.server.network.ServerPlayerInteractionManager
net.minecraft.src.C_14_
net.minecraft.server.level.PlayerInteractManager

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_20325
f_ktpsirxj
LOGGER
LOGGER
f_9246_
protected ServerLevel
c
level
field_14007
f_dukzdose
world
world
f_9244_
protected final ServerPlayer
d
player
field_14008
f_xrttvnri
player
player
f_9245_
private GameType
b
gameModeForPlayer
field_14005
f_xpeylxwt
gameMode
gameMode
f_9247_
private GameType
e
previousGameModeForPlayer
field_25715
f_fuirfidw
previousGameMode
previousGameMode
f_9248_
private boolean
f
isDestroyingBlock
field_14003
f_sggbjzgo
mining
mining
f_9249_
private int
g
destroyProgressStart
field_20326
f_fpjvxyab
startMiningTime
startMiningTime
f_9250_
private BlockPos
h
destroyPos
field_20327
f_ipfsinqc
miningPos
miningPos
f_9251_
private int
i
gameTicks
field_14000
f_zjdwfdpn
tickCounter
tickCounter
f_9252_
private boolean
j
hasDelayedDestroy
field_20328
f_eahmodmq
failedToMine
failedToMine
f_9253_
private BlockPos
k
delayedDestroyPos
field_20329
f_rralkava
failedMiningPos
failedMiningPos
f_9254_
private int
l
delayedTickStart
field_20330
f_zediaifw
failedStartMiningTime
failedStartMiningTime
f_9255_
private int
m
lastSentState
field_20331
f_hytwipcq
blockBreakingProgress
blockBreakingProgress
f_9256_

Constructor summary

ModifierConstructor
public (ServerPlayer player)

Method summary

Modifier and TypeMethod
public boolean
a(dgg arg0)
changeGameModeForPlayer(GameType arg0)
method_30118(class_1934 arg0)
m_irwgxhta(C_lghcpyvl arg0)
changeGameMode(GameMode gameMode)
changeGameMode(GameMode gameMode)
m_143473_(C_1593_ arg0)
protected void
a(dgg arg0, dgg arg1)
setGameModeForPlayer(GameType arg0, GameType arg1)
method_14261(class_1934 arg0, class_1934 arg1)
m_dlqyhkht(C_lghcpyvl arg0, C_lghcpyvl arg1)
setGameMode(GameMode gameMode, GameMode previousGameMode)
setGameMode(GameMode gameMode, GameMode previousGameMode)
m_9273_(C_1593_ p_9275_, C_1593_ arg1)
public GameType
b()
getGameModeForPlayer()
method_14257()
m_xvcvhjxz()
getGameMode()
getGameMode()
m_9290_()
public GameType
c()
getPreviousGameModeForPlayer()
method_30119()
m_vfgqvzlv()
getPreviousGameMode()
getPreviousGameMode()
m_9293_()
public boolean
d()
isSurvival()
method_14267()
m_jzaqmymq()
isSurvivalLike()
isSurvivalLike()
m_9294_()
public boolean
e()
isCreative()
method_14268()
m_ihkyrzml()
isCreative()
isCreative()
m_9295_()
public void
a()
tick()
method_14264()
m_fqikxfva()
update()
update()
m_7712_()
private float
a(dwy arg0, ji arg1, int arg2)
incrementDestroyProgress(BlockState arg0, BlockPos arg1, int arg2)
method_21716(class_2680 arg0, class_2338 arg1, int arg2)
m_kgusbcyk(C_txtbiemp arg0, C_hynzadkk arg1, int arg2)
continueMining(BlockState state, BlockPos pos, int failedStartMiningTime)
continueMining(BlockState state, BlockPos pos, int progress)
m_9276_(C_2064_ p_9278_, C_4675_ p_9279_, int arg2)
private void
a(ji arg0, boolean arg1, int arg2, String arg3)
debugLogging(BlockPos arg0, boolean arg1, int arg2, String arg3)
method_41250(class_2338 arg0, boolean arg1, int arg2, String arg3)
m_utzavwfz(C_hynzadkk arg0, boolean arg1, int arg2, String arg3)
onBlockBreakingAction(BlockPos pos, boolean success, int sequence, String reason)
m_utzavwfz(BlockPos pos, boolean arg1, int arg2, String arg3)
m_215125_(C_4675_ p_215127_, boolean p_215128_, int p_215129_, String arg3)
public void
a(ji arg0, ahm$a arg1, jn arg2, int arg3, int arg4)
handleBlockBreakAction(BlockPos arg0, ServerboundPlayerActionPacket$Action arg1, Direction arg2, int arg3, int arg4)
method_14263(class_2338 arg0, class_2846$class_2847 arg1, class_2350 arg2, int arg3, int arg4)
m_bikcpzuf(C_hynzadkk arg0, C_cbvghftd$C_dowtgrks arg1, C_xpuuihxf arg2, int arg3, int arg4)
processBlockBreakingAction(BlockPos pos, PlayerActionC2SPacket$Action action, Direction direction, int worldHeight, int sequence)
processBlockBreakingAction(BlockPos pos, PlayerActionC2SPacket$Action action, Direction direction, int worldHeight, int arg4)
m_214168_(C_4675_ p_215121_, C_5175_$C_5176_ p_215122_, C_4687_ p_215123_, int p_215124_, int arg4)
public void
a(ji arg0, int arg1, String arg2)
destroyAndAck(BlockPos arg0, int arg1, String arg2)
method_21717(class_2338 arg0, int arg1, String arg2)
m_ssuvqzri(C_hynzadkk arg0, int arg1, String arg2)
finishMining(BlockPos pos, int sequence, String reason)
finishMining(BlockPos pos, int arg1, String reason)
m_215116_(C_4675_ p_215118_, int p_215119_, String arg2)
public boolean
a(ji arg0)
destroyBlock(BlockPos arg0)
method_14266(class_2338 arg0)
m_nqybqapn(C_hynzadkk arg0)
tryBreakBlock(BlockPos pos)
tryBreakBlock(BlockPos pos)
m_9280_(C_4675_ arg0)
public InteractionResult
a(are arg0, dgj arg1, cwq arg2, bsk arg3)
useItem(ServerPlayer arg0, Level arg1, ItemStack arg2, InteractionHand arg3)
method_14256(class_3222 arg0, class_1937 arg1, class_1799 arg2, class_1268 arg3)
m_ufuqdevg(C_mxrobsgg arg0, C_cdctfzbn arg1, C_sddaxwyk arg2, C_laxmzoqs arg3)
interactItem(ServerPlayerEntity player, World world, ItemStack stack, Hand hand)
interactItem(ServerPlayerEntity player, World world, ItemStack stack, Hand hand)
m_6261_(C_13_ p_9263_, C_1596_ p_9264_, C_1391_ p_9265_, C_470_ arg3)
public InteractionResult
a(are arg0, dgj arg1, cwq arg2, bsk arg3, fax arg4)
useItemOn(ServerPlayer arg0, Level arg1, ItemStack arg2, InteractionHand arg3, BlockHitResult arg4)
method_14262(class_3222 arg0, class_1937 arg1, class_1799 arg2, class_1268 arg3, class_3965 arg4)
m_ubzhzfxe(C_mxrobsgg arg0, C_cdctfzbn arg1, C_sddaxwyk arg2, C_laxmzoqs arg3, C_jdakttms arg4)
interactBlock(ServerPlayerEntity player, World world, ItemStack stack, Hand hand, BlockHitResult hitResult)
interactBlock(ServerPlayerEntity player, World world, ItemStack stack, Hand hand, BlockHitResult hitResult)
m_7179_(C_13_ p_9267_, C_1596_ p_9268_, C_1391_ p_9269_, C_470_ p_9270_, C_3041_ arg4)
public void
a(ard arg0)
setLevel(ServerLevel arg0)
method_14259(class_3218 arg0)
m_zkwsvjsv(C_bdwnwhiu arg0)
setWorld(ServerWorld world)
setWorld(ServerWorld world)
m_9260_(C_12_ arg0)