Class PlayerChunkWatchingManager

java.lang.Object
net.minecraft.server.world.PlayerChunkWatchingManager

public final class PlayerChunkWatchingManager extends Object
Mappings:
Namespace Name
official abl
intermediary net/minecraft/class_3210
named net/minecraft/server/world/PlayerChunkWatchingManager
  • Field Details

    • watchingPlayers

      private final Object2BooleanMap<ServerPlayerEntity> watchingPlayers
      Mappings:
      Namespace Name Mixin selector
      official a Labl;a:Lit/unimi/dsi/fastutil/objects/Object2BooleanMap;
      intermediary field_13910 Lnet/minecraft/class_3210;field_13910:Lit/unimi/dsi/fastutil/objects/Object2BooleanMap;
      named watchingPlayers Lnet/minecraft/server/world/PlayerChunkWatchingManager;watchingPlayers:Lit/unimi/dsi/fastutil/objects/Object2BooleanMap;
  • Constructor Details

    • PlayerChunkWatchingManager

      public PlayerChunkWatchingManager()
  • Method Details

    • getPlayersWatchingChunk

      public Stream<ServerPlayerEntity> getPlayersWatchingChunk(long long2)
      Mappings:
      Namespace Name Mixin selector
      official a Labl;a(J)Ljava/util/stream/Stream;
      intermediary method_14083 Lnet/minecraft/class_3210;method_14083(J)Ljava/util/stream/Stream;
      named getPlayersWatchingChunk Lnet/minecraft/server/world/PlayerChunkWatchingManager;getPlayersWatchingChunk(J)Ljava/util/stream/Stream;
    • add

      public void add(long long2, ServerPlayerEntity player, boolean watchDisabled)
      Mappings:
      Namespace Name Mixin selector
      official a Labl;a(JLabs;Z)V
      intermediary method_14085 Lnet/minecraft/class_3210;method_14085(JLnet/minecraft/class_3222;Z)V
      named add Lnet/minecraft/server/world/PlayerChunkWatchingManager;add(JLnet/minecraft/server/network/ServerPlayerEntity;Z)V
    • remove

      public void remove(long long2, ServerPlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official a Labl;a(JLabs;)V
      intermediary method_14084 Lnet/minecraft/class_3210;method_14084(JLnet/minecraft/class_3222;)V
      named remove Lnet/minecraft/server/world/PlayerChunkWatchingManager;remove(JLnet/minecraft/server/network/ServerPlayerEntity;)V
    • disableWatch

      public void disableWatch(ServerPlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official a Labl;a(Labs;)V
      intermediary method_14086 Lnet/minecraft/class_3210;method_14086(Lnet/minecraft/class_3222;)V
      named disableWatch Lnet/minecraft/server/world/PlayerChunkWatchingManager;disableWatch(Lnet/minecraft/server/network/ServerPlayerEntity;)V
    • enableWatch

      public void enableWatch(ServerPlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official b Labl;b(Labs;)V
      intermediary method_14087 Lnet/minecraft/class_3210;method_14087(Lnet/minecraft/class_3222;)V
      named enableWatch Lnet/minecraft/server/world/PlayerChunkWatchingManager;enableWatch(Lnet/minecraft/server/network/ServerPlayerEntity;)V
    • isWatchInactive

      public boolean isWatchInactive(ServerPlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official c Labl;c(Labs;)Z
      intermediary method_21715 Lnet/minecraft/class_3210;method_21715(Lnet/minecraft/class_3222;)Z
      named isWatchInactive Lnet/minecraft/server/world/PlayerChunkWatchingManager;isWatchInactive(Lnet/minecraft/server/network/ServerPlayerEntity;)Z
    • isWatchDisabled

      public boolean isWatchDisabled(ServerPlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official d Labl;d(Labs;)Z
      intermediary method_14082 Lnet/minecraft/class_3210;method_14082(Lnet/minecraft/class_3222;)Z
      named isWatchDisabled Lnet/minecraft/server/world/PlayerChunkWatchingManager;isWatchDisabled(Lnet/minecraft/server/network/ServerPlayerEntity;)Z
    • movePlayer

      public void movePlayer(long prevPos, long currentPos, ServerPlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official a Labl;a(JJLabs;)V
      intermediary method_14081 Lnet/minecraft/class_3210;method_14081(JJLnet/minecraft/class_3222;)V
      named movePlayer Lnet/minecraft/server/world/PlayerChunkWatchingManager;movePlayer(JJLnet/minecraft/server/network/ServerPlayerEntity;)V