net.minecraft.server.level

public class ServerPlayerGameMode

zf
net.minecraft.server.level.ServerPlayerGameMode
net.minecraft.class_3225
net.minecraft.unmapped.C_egnasquq
net.minecraft.server.network.ServerPlayerInteractionManager
net.minecraft.server.management.PlayerInteractionManager
net.minecraft.server.v1_16_R1.PlayerInteractManager

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
c
LOGGER
field_20325
f_ktpsirxj
LOGGER
field_225418_c
public ServerLevel
a
level
field_14007
f_dukzdose
world
field_73092_a
world
public ServerPlayer
b
player
field_14008
f_xrttvnri
player
field_73090_b
player
private GameType
d
gameModeForPlayer
field_14005
f_xpeylxwt
gameMode
field_73091_c
gamemode
private GameType
e
previousGameModeForPlayer
field_25715
f_fuirfidw
field_25715
field_241813_e_
private boolean
f
isDestroyingBlock
field_14003
f_sggbjzgo
mining
field_73088_d
private int
g
destroyProgressStart
field_20326
f_fpjvxyab
startMiningTime
field_73089_e
lastDigTick
private BlockPos
h
destroyPos
field_20327
f_ipfsinqc
miningPos
field_180240_f
private int
i
gameTicks
field_14000
f_zjdwfdpn
tickCounter
field_73100_i
currentTick
private boolean
j
hasDelayedDestroy
field_20328
f_eahmodmq
failedToMine
field_73097_j
private BlockPos
k
delayedDestroyPos
field_20329
f_rralkava
failedMiningPos
field_180241_i
private int
l
delayedTickStart
field_20330
f_zediaifw
failedStartMiningTime
field_73093_n
private int
m
lastSentState
field_20331
f_hytwipcq
blockBreakingProgress
field_73094_o

Constructor summary

ModifierConstructor
public (ServerLevel world)

Method summary

Modifier and TypeMethod
public void
a(bpy arg0)
setGameModeForPlayer(GameType arg0)
method_30118(class_1934 arg0)
m_mkofouum(C_lghcpyvl arg0)
method_30118(GameMode arg0)
func_73076_a(GameType arg0)
setGameMode(EnumGamemode arg0)
public void
a(bpy arg0, bpy arg1)
setGameModeForPlayer(GameType arg0, GameType arg1)
method_14261(class_1934 arg0, class_1934 arg1)
m_ewubcckg(C_lghcpyvl arg0, C_lghcpyvl arg1)
setGameMode(GameMode arg0, GameMode arg1)
func_241820_a(GameType arg0, GameType arg1)
public GameType
b()
getGameModeForPlayer()
method_14257()
m_xvcvhjxz()
getGameMode()
func_73081_b()
getGameMode()
public GameType
c()
getPreviousGameModeForPlayer()
method_30119()
m_vfgqvzlv()
method_30119()
func_241815_c_()
public boolean
d()
isSurvival()
method_14267()
m_jzaqmymq()
isSurvivalLike()
func_180239_c()
public boolean
e()
isCreative()
method_14268()
m_ihkyrzml()
isCreative()
func_73083_d()
isCreative()
public void
b(bpy arg0)
updateGameMode(GameType arg0)
method_14260(class_1934 arg0)
m_fttlfimp(C_lghcpyvl arg0)
setGameModeIfNotPresent(GameMode arg0)
func_73077_b(GameType arg0)
public void
a()
tick()
method_14264()
m_fqikxfva()
update()
func_73075_a()
private float
a(cfj arg0, fu 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 arg2)
func_229859_a_(BlockState arg0, BlockPos arg1, int arg2)
public void
a(fu arg0, ry$a arg1, fz arg2, int arg3)
handleBlockBreakAction(BlockPos arg0, ServerboundPlayerActionPacket$Action arg1, Direction arg2, int arg3)
method_14263(class_2338 arg0, class_2846$class_2847 arg1, class_2350 arg2, int arg3)
m_bikcpzuf(C_hynzadkk arg0, C_cbvghftd$C_dowtgrks arg1, C_xpuuihxf arg2, int arg3)
processBlockBreakingAction(BlockPos pos, PlayerActionC2SPacket$Action action, Direction direction, int worldHeight)
func_225416_a(BlockPos arg0, CPlayerDiggingPacket$Action arg1, Direction arg2, int arg3)
public void
a(fu arg0, ry$a arg1, String arg2)
destroyAndAck(BlockPos arg0, ServerboundPlayerActionPacket$Action arg1, String arg2)
method_21717(class_2338 arg0, class_2846$class_2847 arg1, String arg2)
m_ssuvqzri(C_hynzadkk arg0, C_cbvghftd$C_dowtgrks arg1, String arg2)
finishMining(BlockPos pos, PlayerActionC2SPacket$Action action, String reason)
func_229860_a_(BlockPos arg0, CPlayerDiggingPacket$Action arg1, String arg2)
public boolean
a(fu arg0)
destroyBlock(BlockPos arg0)
method_14266(class_2338 arg0)
m_nqybqapn(C_hynzadkk arg0)
tryBreakBlock(BlockPos pos)
func_180237_b(BlockPos arg0)
breakBlock(BlockPosition arg0)
public InteractionResult
a(ze arg0, bqb arg1, bki arg2, anf 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)
func_187250_a(ServerPlayerEntity arg0, World arg1, ItemStack arg2, Hand arg3)
public InteractionResult
a(ze arg0, bqb arg1, bki arg2, anf arg3, deh 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)
func_219441_a(ServerPlayerEntity arg0, World arg1, ItemStack arg2, Hand arg3, BlockRayTraceResult arg4)
public void
a(zd arg0)
setLevel(ServerLevel arg0)
method_14259(class_3218 arg0)
m_zkwsvjsv(C_bdwnwhiu arg0)
setWorld(ServerWorld world)
func_73080_a(ServerWorld arg0)