net.minecraft.server.level

public class ServerPlayerGameMode

vm
net.minecraft.server.level.ServerPlayerGameMode
net.minecraft.class_3225
net.minecraft.server.network.ServerPlayerInteractionManager
net.minecraft.server.management.PlayerInteractionManager
net.minecraft.server.v1_14_R1.PlayerInteractManager

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
c
LOGGER
field_20325
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
field_73088_d
private int
f
destroyProgressStart
field_20326
field_73089_e
lastDigTick
private BlockPos
g
destroyPos
field_20327
field_180240_f
private int
h
gameTicks
field_14000
field_73100_i
currentTick
private boolean
i
hasDelayedDestroy
field_20328
field_73097_j
private BlockPos
j
delayedDestroyPos
field_20329
field_180241_i
private int
k
delayedTickStart
field_20330
field_73093_n
private int
l
lastSentState
field_20331
field_73094_o

Constructor summary

ModifierConstructor
public (ServerLevel arg0)

Method summary

Modifier and TypeMethod
public void
a(bho 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(bho 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(bvt arg0, ew arg1)
incrementDestroyProgress(BlockState arg0, BlockPos arg1)
method_21716(class_2680 arg0, class_2338 arg1)
func_225417_a(BlockState arg0, BlockPos arg1)
public void
a(ew arg0, os$a arg1, fb 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)
func_225416_a(BlockPos arg0, CPlayerDiggingPacket$Action arg1, Direction arg2, int arg3)
public void
a(ew arg0, os$a arg1)
destroyAndAck(BlockPos arg0, ServerboundPlayerActionPacket$Action arg1)
method_21717(class_2338 arg0, class_2846$class_2847 arg1)
func_225415_a(BlockPos arg0, CPlayerDiggingPacket$Action arg1)
public boolean
a(ew arg0)
destroyBlock(BlockPos arg0)
method_14266(class_2338 arg0)
tryBreakBlock(BlockPos arg0)
func_180237_b(BlockPos arg0)
breakBlock(BlockPosition arg0)
public InteractionResult
a(awg arg0, bhr arg1, bcj arg2, ahi 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 player, World world, ItemStack stack, Hand hand)
func_187250_a(PlayerEntity arg0, World arg1, ItemStack arg2, Hand arg3)
public InteractionResult
a(awg arg0, bhr arg1, bcj arg2, ahi arg3, csd 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(vk arg0)
setLevel(ServerLevel arg0)
method_14259(class_3218 arg0)
setWorld(ServerWorld world)
func_73080_a(ServerWorld arg0)