Class ServerPlayerGameMode

java.lang.Object
net.minecraft.server.level.ServerPlayerGameMode
Direct Known Subclasses:
DemoMode

public class ServerPlayerGameMode extends Object
  • Field Details

    • LOGGER

      private static final org.apache.logging.log4j.Logger LOGGER
    • level

      protected ServerLevel level
    • player

      protected final ServerPlayer player
    • gameModeForPlayer

      private GameType gameModeForPlayer
    • previousGameModeForPlayer

      @Nullable private GameType previousGameModeForPlayer
    • isDestroyingBlock

      private boolean isDestroyingBlock
    • destroyProgressStart

      private int destroyProgressStart
    • destroyPos

      private BlockPos destroyPos
    • gameTicks

      private int gameTicks
    • hasDelayedDestroy

      private boolean hasDelayedDestroy
    • delayedDestroyPos

      private BlockPos delayedDestroyPos
    • delayedTickStart

      private int delayedTickStart
    • lastSentState

      private int lastSentState
  • Constructor Details

    • ServerPlayerGameMode

      public ServerPlayerGameMode(ServerPlayer p_143472_)
  • Method Details