net.minecraft.server.level

public class ServerPlayerGameMode

aai
net.minecraft.server.level.ServerPlayerGameMode
net.minecraft.class_3225
net.minecraft.server.network.ServerPlayerInteractionManager
net.minecraft.server.management.PlayerInteractionManager
net.minecraft.server.v1_16_R2.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 GameType
e
previousGameModeForPlayer
field_25715
previousGameMode
field_241813_e_
private boolean
f
isDestroyingBlock
field_14003
mining
field_73088_d
private int
g
destroyProgressStart
field_20326
startMiningTime
field_73089_e
lastDigTick
private BlockPos
h
destroyPos
field_20327
miningPos
field_180240_f
private int
i
gameTicks
field_14000
tickCounter
field_73100_i
currentTick
private boolean
j
hasDelayedDestroy
field_20328
failedToMine
field_73097_j
private BlockPos
k
delayedDestroyPos
field_20329
failedMiningPos
field_180241_i
private int
l
delayedTickStart
field_20330
failedStartMiningTime
field_73093_n
private int
m
lastSentState
field_20331
blockBreakingProgress
field_73094_o

Constructor summary

ModifierConstructor
public (ServerLevel world)

Method summary

Modifier and TypeMethod
public void
a(brr arg0)
setGameModeForPlayer(GameType arg0)
method_30118(class_1934 arg0)
setGameMode(GameMode gameMode)
func_73076_a(GameType arg0)
setGameMode(EnumGamemode arg0)
public void
a(brr arg0, brr arg1)
setGameModeForPlayer(GameType arg0, GameType arg1)
method_14261(class_1934 arg0, class_1934 arg1)
setGameMode(GameMode gameMode, GameMode previousGameMode)
func_241820_a(GameType arg0, GameType arg1)
public GameType
b()
getGameModeForPlayer()
method_14257()
getGameMode()
func_73081_b()
getGameMode()
public GameType
c()
getPreviousGameModeForPlayer()
method_30119()
getPreviousGameMode()
func_241815_c_()
public boolean
d()
isSurvival()
method_14267()
isSurvivalLike()
func_180239_c()
public boolean
e()
isCreative()
method_14268()
isCreative()
func_73083_d()
isCreative()
public void
b(brr arg0)
updateGameMode(GameType arg0)
method_14260(class_1934 arg0)
setGameModeIfNotPresent(GameMode gameMode)
func_73077_b(GameType arg0)
public void
a()
tick()
method_14264()
update()
func_73075_a()
private float
a(cee arg0, fx arg1, int arg2)
incrementDestroyProgress(BlockState arg0, BlockPos arg1, int arg2)
method_21716(class_2680 arg0, class_2338 arg1, int arg2)
continueMining(BlockState state, BlockPos pos, int arg2)
func_229859_a_(BlockState arg0, BlockPos arg1, int arg2)
public void
a(fx arg0, sz$a arg1, gc 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 action, Direction direction, int worldHeight)
func_225416_a(BlockPos arg0, CPlayerDiggingPacket$Action arg1, Direction arg2, int arg3)
public void
a(fx arg0, sz$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 pos, PlayerActionC2SPacket$Action action, String reason)
func_229860_a_(BlockPos arg0, CPlayerDiggingPacket$Action arg1, String arg2)
public boolean
a(fx arg0)
destroyBlock(BlockPos arg0)
method_14266(class_2338 arg0)
tryBreakBlock(BlockPos pos)
func_180237_b(BlockPos arg0)
breakBlock(BlockPosition arg0)
public InteractionResult
a(aah arg0, bru arg1, bly arg2, aoq arg3)
useItem(ServerPlayer arg0, Level arg1, ItemStack arg2, InteractionHand arg3)
method_14256(class_3222 arg0, class_1937 arg1, class_1799 arg2, class_1268 arg3)
interactItem(ServerPlayerEntity player, World world, ItemStack stack, Hand hand)
func_187250_a(ServerPlayerEntity arg0, World arg1, ItemStack arg2, Hand arg3)
public InteractionResult
a(aah arg0, bru arg1, bly arg2, aoq arg3, dcg 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)
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(aag arg0)
setLevel(ServerLevel arg0)
method_14259(class_3218 arg0)
setWorld(ServerWorld world)
func_73080_a(ServerWorld arg0)