net.minecraft.util.debug

public class DebugSubscription<T>

bxc
net.minecraft.util.debug.DebugSubscription
net.minecraft.class_12017
net.minecraft.world.debug.DebugSubscriptionType

Field summary

Modifier and TypeField
public static final int
a
DOES_NOT_EXPIRE
field_62864
DEFAULT_EXPIRY
final StreamCodec<? super RegistryFriendlyByteBuf, T>
b
valueStreamCodec
field_62865
packetCodec
private final int
c
expireAfterTicks
field_62866
expiry

Constructor summary

ModifierConstructor
public (StreamCodec<? super RegistryFriendlyByteBuf, T> packetCodec, int expiry)
public (StreamCodec<? super RegistryFriendlyByteBuf, T> packetCodec)

Method summary

Modifier and TypeMethod
public DebugSubscription$Update<T>
a(T arg0)
packUpdate(T arg0)
method_74570(T arg0)
optionalValueFor(T value)
public DebugSubscription$Update<T>
a()
emptyUpdate()
method_74569()
optionalValueFor()
public DebugSubscription$Event<T>
b(T arg0)
packEvent(T arg0)
method_74572(T arg0)
valueFor(T value)
public StreamCodec<? super RegistryFriendlyByteBuf, T>
b()
valueStreamCodec()
method_74571()
getPacketCodec()
public int
c()
expireAfterTicks()
method_74573()
getExpiry()