net.minecraft.server.level

public class DemoMode

extends ServerPlayerGameMode

akh
net.minecraft.server.level.DemoMode
net.minecraft.class_3201
net.minecraft.server.network.DemoServerPlayerInteractionManager
net.minecraft.src.C_5441_
net.minecraft.server.level.DemoPlayerInteractManager

Field summary

Modifier and TypeField
public static final int
a
DEMO_DAYS
field_29762
DEMO_DAYS
f_143201_
public static final int
b
TOTAL_PLAY_TICKS
field_29763
DEMO_TIME
f_143202_
private boolean
e
displayedIntro
field_13890
sentHelp
f_140734_
private boolean
f
demoHasEnded
field_13889
demoEnded
f_140735_
private int
g
demoEndedReminder
field_13888
reminderTicks
f_140736_
private int
h
gameModeTicks
field_13887
tick
f_140737_

Constructor summary

ModifierConstructor
public (ServerPlayer arg0)

Method summary

Modifier and TypeMethod
public void
a()
tick()
method_14264()
update()
m_7712_()
private void
f()
outputDemoReminder()
method_14031()
sendDemoReminder()
m_140757_()
public void
a(gw arg0, ace$a arg1, ha 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)
processBlockBreakingAction(BlockPos arg0, PlayerActionC2SPacket$Action arg1, Direction arg2, int arg3, int arg4)
m_214168_(C_4675_ p_214977_, C_5175_$C_5176_ p_214978_, C_4687_ p_214979_, int p_214980_, int arg4)
public InteractionResult
a(akr arg0, cpv arg1, cjf arg2, bgx 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 arg0, World arg1, ItemStack arg2, Hand arg3)
m_6261_(C_13_ p_140743_, C_1596_ p_140744_, C_1391_ p_140745_, C_470_ arg3)
public InteractionResult
a(akr arg0, cpv arg1, cjf arg2, bgx arg3, ehj 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 arg0, World arg1, ItemStack arg2, Hand arg3, BlockHitResult arg4)
m_7179_(C_13_ p_140748_, C_1596_ p_140749_, C_1391_ p_140750_, C_470_ p_140751_, C_3041_ arg4)