Class PlayerChunkWatchingManager

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

public final class PlayerChunkWatchingManager extends Object
Mappings:
Namespace Name
official ahg
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 Lahg;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 Lahg;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 Lahg;a(JLahn;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 Lahg;a(JLahn;)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 Lahg;a(Lahn;)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 Lahg;b(Lahn;)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 Lahg;c(Lahn;)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 Lahg;d(Lahn;)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 Lahg;a(JJLahn;)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