Package net.minecraft.util.debugchart
Class DebugSampleSubscriptionTracker
java.lang.Object
net.minecraft.util.debugchart.DebugSampleSubscriptionTracker
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static final record
(package private) static final record
-
Field Summary
Modifier and TypeFieldDescriptionprivate final PlayerList
static final int
static final int
private final Queue
<DebugSampleSubscriptionTracker.SubscriptionRequest> private final EnumMap
<RemoteDebugSampleType, Map<ServerPlayer, DebugSampleSubscriptionTracker.SubscriptionStartedAt>> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
broadcast
(ClientboundDebugSamplePacket p_324398_) private void
handleSubscriptions
(long p_324350_, int p_323574_) private void
handleUnsubscriptions
(long p_323971_, int p_324253_) boolean
shouldLogSamples
(RemoteDebugSampleType p_324431_) void
subscribe
(ServerPlayer p_324211_, RemoteDebugSampleType p_324355_) void
tick
(int p_323889_)
-
Field Details
-
STOP_SENDING_AFTER_TICKS
public static final int STOP_SENDING_AFTER_TICKS- See Also:
-
STOP_SENDING_AFTER_MS
public static final int STOP_SENDING_AFTER_MS- See Also:
-
playerList
-
subscriptions
private final EnumMap<RemoteDebugSampleType,Map<ServerPlayer, subscriptionsDebugSampleSubscriptionTracker.SubscriptionStartedAt>> -
subscriptionRequestQueue
-
-
Constructor Details
-
DebugSampleSubscriptionTracker
-
-
Method Details
-
shouldLogSamples
-
broadcast
-
subscribe
-
tick
public void tick(int p_323889_) -
handleSubscriptions
private void handleSubscriptions(long p_324350_, int p_323574_) -
handleUnsubscriptions
private void handleUnsubscriptions(long p_323971_, int p_324253_)
-