net.minecraft.server.debug

public class SubscriptionTracker

net.minecraft.util.debug.LevelDebugSynchronizers
net.minecraft.class_12026
net.minecraft.server.debug.SubscriptionTracker

Field summary

Modifier and TypeField
private final ServerWorld
level
field_62885
world
private final List<TrackedSubscription<?>>
allSynchronizers
field_62886
subscriptions
private final Map<DebugSubscriptionType<?>, TrackedSubscription$UpdateTrackedSubscription<?>>
sourceSynchronizers
field_62887
subscriptionsByTypes
private final TrackedSubscription$TrackedPoi
poiSynchronizer
field_62888
trackedPoi
private final TrackedSubscription$TrackedVillageSections
villageSectionSynchronizer
field_62889
trackedVillageSections
private boolean
sleeping
field_62890
stopped
private Set<DebugSubscriptionType<?>>
enabledSubscriptions
field_62891
subscribedTypes

Constructor summary

ModifierConstructor
public (ServerWorld world)

Method summary

Modifier and TypeMethod
public void
tick(ServerDebugSubscribers serverSubscribers)
method_74596(class_12027 arg0)
tick(SubscriberTracker subscriberTracker)
private void
wakeUp()
method_74591()
startTracking()
private <T> TrackedSubscription$UpdateTrackedSubscription<T>
getSourceSynchronizer(DebugSubscription<T> subscription)
method_74609(class_12017<T> arg0)
get(DebugSubscriptionType<T> type)
public void
registerChunk(LevelChunk chunk)
method_74605(class_2818 arg0)
trackChunk(WorldChunk chunk)
public void
dropChunk(ChunkPos chunkPos)
method_74602(class_1923 arg0)
untrackChunk(ChunkPos chunkPos)
public void
registerBlockEntity(BlockEntity blockEntity)
method_74604(class_2586 arg0)
trackBlockEntity(BlockEntity blockEntity)
public void
dropBlockEntity(BlockPos blockPos)
method_74606(class_2338 arg0)
untrackBlockEntity(BlockPos pos)
public void
registerEntity(Entity entity)
method_74597(class_1297 arg0)
trackEntity(Entity entity)
public void
dropEntity(Entity entity)
method_74610(class_1297 arg0)
untrackEntity(Entity entity)
public void
startTrackingChunk(ServerPlayer player, ChunkPos chunkPos)
method_74593(class_3222 arg0, class_1923 arg1)
sendInitialIfSubscribed(ServerPlayerEntity player, ChunkPos chunkPos)
public void
startTrackingEntity(ServerPlayer player, Entity entity)
method_74592(class_3222 arg0, class_1297 arg1)
sendInitialIfSubscribed(ServerPlayerEntity player, Entity entity)
public void
registerPoi(PoiRecord poi)
method_74601(class_4156 arg0)
onPoiAdded(PointOfInterest poi)
public void
updatePoi(BlockPos pos)
method_74611(class_2338 arg0)
onPoiUpdated(BlockPos pos)
public void
dropPoi(BlockPos pos)
method_74613(class_2338 arg0)
onPoiRemoved(BlockPos pos)
public boolean
hasAnySubscriberFor(DebugSubscription<?> subscription)
method_74594(class_12017<?> arg0)
isSubscribed(DebugSubscriptionType<?> type)
public <T> void
sendBlockValue(BlockPos blockPos, DebugSubscription<T> subscription, T value)
method_74608(class_2338 arg0, class_12017<T> arg1, T arg2)
sendBlockDebugData(BlockPos pos, DebugSubscriptionType<T> type, T value)
public <T> void
clearBlockValue(BlockPos blockPos, DebugSubscription<T> subscription)
method_74607(class_2338 arg0, class_12017<T> arg1)
removeBlockDebugData(BlockPos pos, DebugSubscriptionType<T> type)
public <T> void
sendEntityValue(Entity entity, DebugSubscription<T> subscription, T value)
method_74600(class_1297 arg0, class_12017<T> arg1, T arg2)
sendEntityDebugData(Entity entity, DebugSubscriptionType<T> type, T value)
public <T> void
clearEntityValue(Entity entity, DebugSubscription<T> subscription)
method_74598(class_1297 arg0, class_12017<T> arg1)
removeEntityDebugData(Entity entity, DebugSubscriptionType<T> type)
public <T> void
broadcastEventToTracking(BlockPos blockPos, DebugSubscription<T> subscription, T value)
method_74612(class_2338 arg0, class_12017<T> arg1, T arg2)
sendEventDebugData(BlockPos pos, DebugSubscriptionType<T> type, T value)
private void
broadcastToTracking(ChunkPos trackedChunk, DebugSubscription<?> subscription, Packet<? super ClientGamePacketListener> packet)
method_74603(class_1923 arg0, class_12017<?> arg1, class_2596<? super class_2602> arg2)
sendToTrackingPlayers(ChunkPos chunkPos, DebugSubscriptionType<?> type, Packet<? super ClientPlayPacketListener> packet)
private void
broadcastToTracking(Entity trackedEntity, DebugSubscription<?> subscription, Packet<? super ClientGamePacketListener> packet)
method_74599(class_1297 arg0, class_12017<?> arg1, class_2596<? super class_2602> arg2)
sendToTrackingPlayers(Entity entity, DebugSubscriptionType<?> type, Packet<? super ClientPlayPacketListener> packet)
private static boolean
lambda$broadcastToTracking$0(DebugSubscription arg0, ServerPlayer arg1)
method_74595(class_12017 arg0, class_3222 arg1)
method_74595(DebugSubscriptionType arg0, ServerPlayerEntity player)