net.minecraft.client.network

public class ClientDebugSubscriptionManager

net.minecraft.client.multiplayer.ClientDebugSubscriber
net.minecraft.class_12036
net.minecraft.client.network.ClientDebugSubscriptionManager

Field summary

Modifier and TypeField
private final ClientPlayNetworkHandler
connection
field_62932
networkHandler
private final DebugHud
debugScreenOverlay
field_62933
debugHud
private Set<DebugSubscriptionType<?>>
remoteSubscriptions
field_62934
clientSubscriptions
private final Map<DebugSubscriptionType<?>, ClientDebugSubscriptionManager$TrackableValueMap<?>>
valuesBySubscription
field_62935
valuesBySubscription

Constructor summary

ModifierConstructor
public (ClientPlayNetworkHandler networkHandler, DebugHud debugHud)

Method summary

Modifier and TypeMethod
private static void
addFlag(Set<DebugSubscription<?>> output, DebugSubscription<?> subscription, boolean flag)
method_74729(Set<class_12017<?>> arg0, class_12017<?> arg1, boolean arg2)
addDebugSubscription(Set<DebugSubscriptionType<?>> types, DebugSubscriptionType<?> type, boolean enable)
private Set<DebugSubscriptionType<?>>
requestedSubscriptions()
method_74733()
getRequestedSubscriptions()
public void
clear()
method_74712()
clearAllSubscriptions()
public void
tick(long gameTime)
method_74713(long arg0)
startTick(long time)
private void
onSubscriptionsChanged(Set<DebugSubscription<?>> newSubscriptions)
method_74728(Set<class_12017<?>> arg0)
onSubscriptionsChanged(Set<DebugSubscriptionType<?>> subscriptions)
private void
initializeSubscriptions(Set<DebugSubscription<?>> newSubscriptions)
method_76759(Set<class_12017<?>> arg0)
clearSubscriptions(Set<DebugSubscriptionType<?>> subscriptions)
private <V> ClientDebugSubscriptionManager$TrackableValueMap<V>
getValueMaps(DebugSubscription<V> subscription)
method_74720(class_12017<V> arg0)
getTrackableValueMaps(DebugSubscriptionType<V> type)
private <K, V> ClientDebugSubscriptionManager$TrackableValue<K, V>
getValueMap(DebugSubscription<V> subscription, ClientDebugSubscriber$ValueMapType<K, V> mapType)
method_74721(class_12017<V> arg0, class_12036$class_12038<K, V> arg1)
getValue(DebugSubscriptionType<V> type, ClientDebugSubscriptionManager$TrackableValueGetter<K, V> getter)
private <K, V> V
getValue(DebugSubscription<V> subscription, K key, ClientDebugSubscriber$ValueMapType<K, V> type)
method_74723(class_12017<V> arg0, K arg1, class_12036$class_12038<K, V> arg2)
getValue(DebugSubscriptionType<V> type, K object, ClientDebugSubscriptionManager$TrackableValueGetter<K, V> getter)
public DebugDataStore
createDebugValueAccess(Level level)
method_74726(class_1937 arg0)
createDebugDataStore(World world)
public <T> void
updateChunk(long gameTime, ChunkPos chunkPos, DebugSubscription$Update<T> update)
method_74717(long arg0, class_1923 arg1, class_12017$class_12019<T> arg2)
updateChunk(long lifetime, ChunkPos pos, DebugSubscriptionType$OptionalValue<T> optional)
public <T> void
updateBlock(long gameTime, BlockPos blockPos, DebugSubscription$Update<T> update)
method_74718(long arg0, class_2338 arg1, class_12017$class_12019<T> arg2)
updateBlock(long lifetime, BlockPos pos, DebugSubscriptionType$OptionalValue<T> optional)
public <T> void
updateEntity(long gameTime, Entity entity, DebugSubscription$Update<T> update)
method_74716(long arg0, class_1297 arg1, class_12017$class_12019<T> arg2)
updateEntity(long lifetime, Entity entity, DebugSubscriptionType$OptionalValue<T> optional)
public <T> void
pushEvent(long gameTime, DebugSubscription$Event<T> event)
method_74714(long arg0, class_12017$class_12018<T> arg1)
addEvent(long lifetime, DebugSubscriptionType$Value<T> value)
private <K, V> void
updateMap(long gameTime, K key, DebugSubscription$Update<V> update, ClientDebugSubscriber$ValueMapType<K, V> type)
method_74719(long arg0, K arg1, class_12017$class_12019<V> arg2, class_12036$class_12038<K, V> arg3)
updateTrackableValueMap(long lifetime, K object, DebugSubscriptionType$OptionalValue<V> optional, ClientDebugSubscriptionManager$TrackableValueGetter<K, V> arg3)
private <K, V> void
forEachValue(DebugSubscription<V> subscription, ClientDebugSubscriber$ValueMapType<K, V> type, BiConsumer<K, V> consumer)
method_74722(class_12017<V> arg0, class_12036$class_12038<K, V> arg1, BiConsumer<K, V> arg2)
forEachValue(DebugSubscriptionType<V> type, ClientDebugSubscriptionManager$TrackableValueGetter<K, V> getter, BiConsumer<K, V> visitor)
public void
dropLevel()
method_74730()
clearValues()
public void
dropChunk(ChunkPos chunkPos)
method_74725(class_1923 arg0)
removeChunk(ChunkPos pos)
public void
dropEntity(Entity entity)
method_74724(class_1297 arg0)
removeEntity(Entity entity)
private static <T> ClientDebugSubscriptionManager$TrackableValueGetter<UUID, T>
entities()
method_74735()
forEntities()
private static <T> ClientDebugSubscriptionManager$TrackableValueGetter<BlockPos, T>
blocks()
method_74736()
forBlocks()
private static <T> ClientDebugSubscriptionManager$TrackableValueGetter<ChunkPos, T>
chunks()
method_74737()
forChunks()
private static ClientDebugSubscriptionManager$TrackableValue
lambda$chunks$0(ClientDebugSubscriber$ValueMaps arg0)
method_74727(class_12036$class_12039 arg0)
method_74727(ClientDebugSubscriptionManager$TrackableValueMap maps)
private static ClientDebugSubscriptionManager$TrackableValue
lambda$blocks$0(ClientDebugSubscriber$ValueMaps arg0)
method_74732(class_12036$class_12039 arg0)
method_74732(ClientDebugSubscriptionManager$TrackableValueMap maps)
private static ClientDebugSubscriptionManager$TrackableValue
lambda$entities$0(ClientDebugSubscriber$ValueMaps arg0)
method_74734(class_12036$class_12039 arg0)
method_74734(ClientDebugSubscriptionManager$TrackableValueMap maps)
private static ClientDebugSubscriptionManager$TrackableValueMap
lambda$initializeSubscriptions$0(DebugSubscription arg0)
method_76758(class_12017 arg0)
method_76758(DebugSubscriptionType type)
private static void
lambda$tick$0(long arg0, DebugSubscription arg1, ClientDebugSubscriber$ValueMaps arg2)
method_74715(long arg0, class_12017 arg1, class_12036$class_12039 arg2)
method_74715(long arg0, DebugSubscriptionType type, ClientDebugSubscriptionManager$TrackableValueMap valueMap)