net.minecraft.server.level

public class ServerPlayerGameMode

xf
net.minecraft.server.level.ServerPlayerGameMode
net.minecraft.class_3225
net.minecraft.server.network.ServerPlayerInteractionManager
net.minecraft.server.management.PlayerInteractionManager
net.minecraft.server.v1_15_R1.PlayerInteractManager

Field summary

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

Constructor summary

ModifierConstructor
public (ServerLevel world)

Method summary

Modifier and TypeMethod
public void
a(bjq arg0)
setGameModeForPlayer(GameType arg0)
method_14261(class_1934 arg0)
setGameMode(GameMode arg0)
func_73076_a(GameType arg0)
setGameMode(EnumGamemode arg0)
public GameType
b()
getGameModeForPlayer()
method_14257()
getGameMode()
func_73081_b()
getGameMode()
public boolean
c()
isSurvival()
method_14267()
isSurvivalLike()
func_180239_c()
public boolean
d()
isCreative()
method_14268()
isCreative()
func_73083_d()
isCreative()
public void
b(bjq arg0)
updateGameMode(GameType arg0)
method_14260(class_1934 arg0)
setGameModeIfNotPresent(GameMode arg0)
func_73077_b(GameType arg0)
public void
a()
tick()
method_14264()
update()
func_73075_a()
private float
a(byg arg0, fk arg1, int arg2)
incrementDestroyProgress(BlockState arg0, BlockPos arg1, int arg2)
method_21716(class_2680 arg0, class_2338 arg1, int arg2)
continueMining(BlockState arg0, BlockPos arg1, int arg2)
func_229859_a_(BlockState arg0, BlockPos arg1, int arg2)
public void
a(fk arg0, qj$a arg1, fp 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)
processBlockBreakingAction(BlockPos pos, PlayerActionC2SPacket$Action arg1, Direction arg2, int worldHeight)
func_225416_a(BlockPos arg0, CPlayerDiggingPacket$Action arg1, Direction arg2, int arg3)
public void
a(fk arg0, qj$a arg1, String arg2)
destroyAndAck(BlockPos arg0, ServerboundPlayerActionPacket$Action arg1, String arg2)
method_21717(class_2338 arg0, class_2846$class_2847 arg1, String arg2)
finishMining(BlockPos arg0, PlayerActionC2SPacket$Action arg1, String reason)
func_229860_a_(BlockPos arg0, CPlayerDiggingPacket$Action arg1, String arg2)
public boolean
a(fk arg0)
destroyBlock(BlockPos arg0)
method_14266(class_2338 arg0)
tryBreakBlock(BlockPos arg0)
func_180237_b(BlockPos arg0)
breakBlock(BlockPosition arg0)
public InteractionResult
a(ayg arg0, bjt arg1, bek arg2, ajh arg3)
useItem(Player arg0, Level arg1, ItemStack arg2, InteractionHand arg3)
method_14256(class_1657 arg0, class_1937 arg1, class_1799 arg2, class_1268 arg3)
interactItem(PlayerEntity arg0, World arg1, ItemStack arg2, Hand arg3)
func_187250_a(PlayerEntity arg0, World arg1, ItemStack arg2, Hand arg3)
public InteractionResult
a(ayg arg0, bjt arg1, bek arg2, ajh arg3, cvd arg4)
useItemOn(Player arg0, Level arg1, ItemStack arg2, InteractionHand arg3, BlockHitResult arg4)
method_14262(class_1657 arg0, class_1937 arg1, class_1799 arg2, class_1268 arg3, class_3965 arg4)
interactBlock(PlayerEntity player, World world, ItemStack stack, Hand hand, BlockHitResult hitResult)
func_219441_a(PlayerEntity arg0, World arg1, ItemStack arg2, Hand arg3, BlockRayTraceResult arg4)
public void
a(xd arg0)
setLevel(ServerLevel arg0)
method_14259(class_3218 arg0)
setWorld(ServerWorld world)
func_73080_a(ServerWorld arg0)