类 DebugSampleSubscriptionTracker
java.lang.Object
net.minecraft.util.debugchart.DebugSampleSubscriptionTracker
-
嵌套类概要
嵌套类修饰符和类型类说明(专用程序包) static final record
(专用程序包) static final record
-
字段概要
字段修饰符和类型字段说明private final PlayerList
static final int
static final int
private final Queue
<DebugSampleSubscriptionTracker.SubscriptionRequest> private final Map
<RemoteDebugSampleType, Map<ServerPlayer, DebugSampleSubscriptionTracker.SubscriptionStartedAt>> -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
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_)
-
字段详细资料
-
STOP_SENDING_AFTER_TICKS
public static final int STOP_SENDING_AFTER_TICKS- 另请参阅:
-
STOP_SENDING_AFTER_MS
public static final int STOP_SENDING_AFTER_MS- 另请参阅:
-
playerList
-
subscriptions
private final Map<RemoteDebugSampleType,Map<ServerPlayer, subscriptionsDebugSampleSubscriptionTracker.SubscriptionStartedAt>> -
subscriptionRequestQueue
-
-
构造器详细资料
-
DebugSampleSubscriptionTracker
-
-
方法详细资料
-
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_)
-