Package net.minecraft.server
Class SampleSubscriptionTracker
java.lang.Object
net.minecraft.server.SampleSubscriptionTracker
- Mappings:
Namespace Name named net/minecraft/server/SampleSubscriptionTracker
intermediary net/minecraft/class_9188
official bob
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static final record
private static final record
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Queue
<SampleSubscriptionTracker.PlayerSubscriptionData> private final PlayerManager
static final int
static final int
private final EnumMap
<DebugSampleType, Map<ServerPlayerEntity, SampleSubscriptionTracker.MeasureTimeTick>> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addPlayer
(ServerPlayerEntity player, DebugSampleType type) private void
onSubscription
(long time, int tick) private void
onUnsubscription
(long measuringTimeMs, int tick) void
sendPacket
(DebugSampleS2CPacket packet) boolean
shouldPush
(DebugSampleType type) void
tick
(int tick)
-
Field Details
-
STOP_TRACK_TICK
public static final int STOP_TRACK_TICK- See Also:
- Mappings:
Namespace Name Mixin selector named STOP_TRACK_TICK
Lnet/minecraft/server/SampleSubscriptionTracker;STOP_TRACK_TICK:I
intermediary field_48808
Lnet/minecraft/class_9188;field_48808:I
official a
Lbob;a:I
-
STOP_TRACK_MS
public static final int STOP_TRACK_MS- See Also:
- Mappings:
Namespace Name Mixin selector named STOP_TRACK_MS
Lnet/minecraft/server/SampleSubscriptionTracker;STOP_TRACK_MS:I
intermediary field_48809
Lnet/minecraft/class_9188;field_48809:I
official b
Lbob;b:I
-
playerManager
- Mappings:
Namespace Name Mixin selector named playerManager
Lnet/minecraft/server/SampleSubscriptionTracker;playerManager:Lnet/minecraft/server/PlayerManager;
intermediary field_48810
Lnet/minecraft/class_9188;field_48810:Lnet/minecraft/class_3324;
official c
Lbob;c:Lawi;
-
subscriptionMap
private final EnumMap<DebugSampleType,Map<ServerPlayerEntity, subscriptionMapSampleSubscriptionTracker.MeasureTimeTick>> - Mappings:
Namespace Name Mixin selector named subscriptionMap
Lnet/minecraft/server/SampleSubscriptionTracker;subscriptionMap:Ljava/util/EnumMap;
intermediary field_48811
Lnet/minecraft/class_9188;field_48811:Ljava/util/EnumMap;
official d
Lbob;d:Ljava/util/EnumMap;
-
pendingQueue
- Mappings:
Namespace Name Mixin selector named pendingQueue
Lnet/minecraft/server/SampleSubscriptionTracker;pendingQueue:Ljava/util/Queue;
intermediary field_48812
Lnet/minecraft/class_9188;field_48812:Ljava/util/Queue;
official e
Lbob;e:Ljava/util/Queue;
-
-
Constructor Details
-
SampleSubscriptionTracker
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/server/SampleSubscriptionTracker;<init>(Lnet/minecraft/server/PlayerManager;)V
intermediary <init>
Lnet/minecraft/class_9188;<init>(Lnet/minecraft/class_3324;)V
official <init>
Lbob;<init>(Lawi;)V
-
-
Method Details
-
shouldPush
- Mappings:
Namespace Name Mixin selector named shouldPush
Lnet/minecraft/server/SampleSubscriptionTracker;shouldPush(Lnet/minecraft/util/profiler/log/DebugSampleType;)Z
intermediary method_56657
Lnet/minecraft/class_9188;method_56657(Lnet/minecraft/class_9192;)Z
official a
Lbob;a(Lbod;)Z
-
sendPacket
- Mappings:
Namespace Name Mixin selector named sendPacket
Lnet/minecraft/server/SampleSubscriptionTracker;sendPacket(Lnet/minecraft/network/packet/s2c/play/DebugSampleS2CPacket;)V
intermediary method_56655
Lnet/minecraft/class_9188;method_56655(Lnet/minecraft/class_9178;)V
official a
Lbob;a(Lads;)V
-
addPlayer
- Mappings:
Namespace Name Mixin selector named addPlayer
Lnet/minecraft/server/SampleSubscriptionTracker;addPlayer(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/util/profiler/log/DebugSampleType;)V
intermediary method_56656
Lnet/minecraft/class_9188;method_56656(Lnet/minecraft/class_3222;Lnet/minecraft/class_9192;)V
official a
Lbob;a(Lasi;Lbod;)V
-
tick
public void tick(int tick) - Mappings:
Namespace Name Mixin selector named tick
Lnet/minecraft/server/SampleSubscriptionTracker;tick(I)V
intermediary method_56652
Lnet/minecraft/class_9188;method_56652(I)V
official a
Lbob;a(I)V
-
onSubscription
private void onSubscription(long time, int tick) - Mappings:
Namespace Name Mixin selector named onSubscription
Lnet/minecraft/server/SampleSubscriptionTracker;onSubscription(JI)V
intermediary method_56654
Lnet/minecraft/class_9188;method_56654(JI)V
official a
Lbob;a(JI)V
-
onUnsubscription
private void onUnsubscription(long measuringTimeMs, int tick) - Mappings:
Namespace Name Mixin selector named onUnsubscription
Lnet/minecraft/server/SampleSubscriptionTracker;onUnsubscription(JI)V
intermediary method_56658
Lnet/minecraft/class_9188;method_56658(JI)V
official b
Lbob;b(JI)V
-