net.minecraft.server.network

public class DemoServerPlayerInteractionManager

extends ServerPlayerInteractionManager

net.minecraft.server.level.DemoMode
net.minecraft.server.level.DemoMode
net.minecraft.class_3201
net.minecraft.server.network.DemoServerPlayerInteractionManager

Field summary

Modifier and TypeField
public static final int
DEMO_DAYS
DEMO_DAYS
field_29762
DEMO_DAYS
public static final int
TOTAL_PLAY_TICKS
TOTAL_PLAY_TICKS
field_29763
DEMO_TIME
private boolean
displayedIntro
displayedIntro
field_13890
sentHelp
private boolean
demoHasEnded
demoHasEnded
field_13889
demoEnded
private int
demoEndedReminder
demoEndedReminder
field_13888
reminderTicks
private int
gameModeTicks
gameModeTicks
field_13887
tick

Constructor summary

ModifierConstructor
public (ServerPlayerEntity player)

Method summary

Modifier and TypeMethod
public void
tick()
tick()
method_14264()
update()
private void
outputDemoReminder()
outputDemoReminder()
method_14031()
sendDemoReminder()
public void
handleBlockBreakAction(BlockPos pos, ServerboundPlayerActionPacket$Action action, Direction direction, int maxY, int sequence)
handleBlockBreakAction(BlockPos pos, ServerboundPlayerActionPacket$Action action, Direction direction, int maxY, int sequence)
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)
public ActionResult
useItem(ServerPlayer player, Level level, ItemStack itemStack, InteractionHand hand)
useItem(ServerPlayer player, Level level, ItemStack itemStack, InteractionHand hand)
method_14256(class_3222 arg0, class_1937 arg1, class_1799 arg2, class_1268 arg3)
interactItem(ServerPlayerEntity arg0, World arg1, ItemStack arg2, Hand arg3)
public ActionResult
useItemOn(ServerPlayer player, Level level, ItemStack itemStack, InteractionHand hand, BlockHitResult hitResult)
useItemOn(ServerPlayer player, Level level, ItemStack itemStack, InteractionHand hand, BlockHitResult hitResult)
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)