Class SubscriberTracker

java.lang.Object
net.minecraft.server.debug.SubscriberTracker

public class SubscriberTracker extends Object
Mappings:
Namespace Name
named net/minecraft/server/debug/SubscriberTracker
intermediary net/minecraft/class_12027
official bvx
  • Field Details

    • server

      private final MinecraftServer server
      Mappings:
      Namespace Name Mixin selector
      named server Lnet/minecraft/server/debug/SubscriberTracker;server:Lnet/minecraft/server/MinecraftServer;
      intermediary field_62898 Lnet/minecraft/class_12027;field_62898:Lnet/minecraft/server/MinecraftServer;
      official a Lbvx;a:Lnet/minecraft/server/MinecraftServer;
    • subscribers

      private final Map<DebugSubscriptionType<?>,List<ServerPlayerEntity>> subscribers
      Mappings:
      Namespace Name Mixin selector
      named subscribers Lnet/minecraft/server/debug/SubscriberTracker;subscribers:Ljava/util/Map;
      intermediary field_62899 Lnet/minecraft/class_12027;field_62899:Ljava/util/Map;
      official b Lbvx;b:Ljava/util/Map;
  • Constructor Details

    • SubscriberTracker

      public SubscriberTracker(MinecraftServer server)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/server/debug/SubscriberTracker;<init>(Lnet/minecraft/server/MinecraftServer;)V
      intermediary <init> Lnet/minecraft/class_12027;<init>(Lnet/minecraft/server/MinecraftServer;)V
      official <init> Lbvx;<init>(Lnet/minecraft/server/MinecraftServer;)V
  • Method Details

    • getSubscribers

      private List<ServerPlayerEntity> getSubscribers(DebugSubscriptionType<?> type)
      Mappings:
      Namespace Name Mixin selector
      named getSubscribers Lnet/minecraft/server/debug/SubscriberTracker;getSubscribers(Lnet/minecraft/world/debug/DebugSubscriptionType;)Ljava/util/List;
      intermediary method_74619 Lnet/minecraft/class_12027;method_74619(Lnet/minecraft/class_12017;)Ljava/util/List;
      official b Lbvx;b(Lbvs;)Ljava/util/List;
    • tick

      public void tick()
      Mappings:
      Namespace Name Mixin selector
      named tick Lnet/minecraft/server/debug/SubscriberTracker;tick()V
      intermediary method_74614 Lnet/minecraft/class_12027;method_74614()V
      official a Lbvx;a()V
    • send

      public void send(DebugSubscriptionType<?> type, Packet<?> packet)
      Mappings:
      Namespace Name Mixin selector
      named send Lnet/minecraft/server/debug/SubscriberTracker;send(Lnet/minecraft/world/debug/DebugSubscriptionType;Lnet/minecraft/network/packet/Packet;)V
      intermediary method_74617 Lnet/minecraft/class_12027;method_74617(Lnet/minecraft/class_12017;Lnet/minecraft/class_2596;)V
      official a Lbvx;a(Lbvs;Laao;)V
    • getSubscribedTypes

      public Set<DebugSubscriptionType<?>> getSubscribedTypes()
      Mappings:
      Namespace Name Mixin selector
      named getSubscribedTypes Lnet/minecraft/server/debug/SubscriberTracker;getSubscribedTypes()Ljava/util/Set;
      intermediary method_74618 Lnet/minecraft/class_12027;method_74618()Ljava/util/Set;
      official b Lbvx;b()Ljava/util/Set;
    • hasSubscriber

      public boolean hasSubscriber(DebugSubscriptionType<?> type)
      Mappings:
      Namespace Name Mixin selector
      named hasSubscriber Lnet/minecraft/server/debug/SubscriberTracker;hasSubscriber(Lnet/minecraft/world/debug/DebugSubscriptionType;)Z
      intermediary method_74616 Lnet/minecraft/class_12027;method_74616(Lnet/minecraft/class_12017;)Z
      official a Lbvx;a(Lbvs;)Z
    • canSubscribe

      public boolean canSubscribe(ServerPlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      named canSubscribe Lnet/minecraft/server/debug/SubscriberTracker;canSubscribe(Lnet/minecraft/server/network/ServerPlayerEntity;)Z
      intermediary method_74615 Lnet/minecraft/class_12027;method_74615(Lnet/minecraft/class_3222;)Z
      official a Lbvx;a(Lawy;)Z