Class PlayerChunkWatchingManager

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

public final class PlayerChunkWatchingManager extends Object
Mappings:
Namespace Name
official acw
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 Lacw;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 Set<ServerPlayerEntity> getPlayersWatchingChunk(long long2)
      Mappings:
      Namespace Name Mixin selector
      official a Lacw;a(J)Ljava/util/Set;
      intermediary method_14083 Lnet/minecraft/class_3210;method_14083(J)Ljava/util/Set;
      named getPlayersWatchingChunk Lnet/minecraft/server/world/PlayerChunkWatchingManager;getPlayersWatchingChunk(J)Ljava/util/Set;
    • add

      public void add(long long2, ServerPlayerEntity player, boolean watchDisabled)
      Mappings:
      Namespace Name Mixin selector
      official a Lacw;a(JLadd;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 Lacw;a(JLadd;)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 Lacw;a(Ladd;)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 Lacw;b(Ladd;)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 Lacw;c(Ladd;)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 Lacw;d(Ladd;)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 Lacw;a(JJLadd;)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