Class PlayerChunkWatchingManager

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

public final class PlayerChunkWatchingManager
extends Object
Mappings:
Namespace Name
official aap
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 Laap;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 Laap;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 serverPlayerEntity, boolean watchDisabled)
      Mappings:
      Namespace Name Mixin selector
      official a Laap;a(JLaaw;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 serverPlayerEntity)
      Mappings:
      Namespace Name Mixin selector
      official a Laap;a(JLaaw;)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 serverPlayerEntity)
      Mappings:
      Namespace Name Mixin selector
      official a Laap;a(Laaw;)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 serverPlayerEntity)
      Mappings:
      Namespace Name Mixin selector
      official b Laap;b(Laaw;)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
    • method_21715

      public boolean method_21715​(ServerPlayerEntity serverPlayerEntity)
      Mappings:
      Namespace Name Mixin selector
      official c Laap;c(Laaw;)Z
      intermediary method_21715 Lnet/minecraft/class_3210;method_21715(Lnet/minecraft/class_3222;)Z
      named method_21715 Lnet/minecraft/server/world/PlayerChunkWatchingManager;method_21715(Lnet/minecraft/server/network/ServerPlayerEntity;)Z
    • isWatchDisabled

      public boolean isWatchDisabled​(ServerPlayerEntity serverPlayerEntity)
      Mappings:
      Namespace Name Mixin selector
      official d Laap;d(Laaw;)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 serverPlayerEntity)
      Mappings:
      Namespace Name Mixin selector
      official a Laap;a(JJLaaw;)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