Package net.minecraft.world.debug
Class DebugSubscriptionType<T>
java.lang.Object
net.minecraft.world.debug.DebugSubscriptionType<T>
- Mappings:
Namespace Name named net/minecraft/world/debug/DebugSubscriptionTypeintermediary net/minecraft/class_12017official bvs
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic final record -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intprivate final int(package private) final @Nullable PacketCodec<? super RegistryByteBuf, T> -
Constructor Summary
ConstructorsConstructorDescriptionDebugSubscriptionType(@Nullable PacketCodec<? super RegistryByteBuf, T> packetCodec) DebugSubscriptionType(@Nullable PacketCodec<? super RegistryByteBuf, T> packetCodec, int expiry) -
Method Summary
Modifier and TypeMethodDescriptionint@Nullable PacketCodec<? super RegistryByteBuf, T> optionalValueFor(T value) toString()
-
Field Details
-
DEFAULT_EXPIRY
public static final int DEFAULT_EXPIRY- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_EXPIRYLnet/minecraft/world/debug/DebugSubscriptionType;DEFAULT_EXPIRY:Iintermediary field_62864Lnet/minecraft/class_12017;field_62864:Iofficial aLbvs;a:I
-
packetCodec
- Mappings:
Namespace Name Mixin selector named packetCodecLnet/minecraft/world/debug/DebugSubscriptionType;packetCodec:Lnet/minecraft/network/codec/PacketCodec;intermediary field_62865Lnet/minecraft/class_12017;field_62865:Lnet/minecraft/class_9139;official bLbvs;b:Laae;
-
expiry
private final int expiry- Mappings:
Namespace Name Mixin selector named expiryLnet/minecraft/world/debug/DebugSubscriptionType;expiry:Iintermediary field_62866Lnet/minecraft/class_12017;field_62866:Iofficial cLbvs;c:I
-
-
Constructor Details
-
DebugSubscriptionType
public DebugSubscriptionType(@Nullable @Nullable PacketCodec<? super RegistryByteBuf, T> packetCodec, int expiry) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/world/debug/DebugSubscriptionType;<init>(Lnet/minecraft/network/codec/PacketCodec;I)Vintermediary <init>Lnet/minecraft/class_12017;<init>(Lnet/minecraft/class_9139;I)Vofficial <init>Lbvs;<init>(Laae;I)V
-
DebugSubscriptionType
public DebugSubscriptionType(@Nullable @Nullable PacketCodec<? super RegistryByteBuf, T> packetCodec) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/world/debug/DebugSubscriptionType;<init>(Lnet/minecraft/network/codec/PacketCodec;)Vintermediary <init>Lnet/minecraft/class_12017;<init>(Lnet/minecraft/class_9139;)Vofficial <init>Lbvs;<init>(Laae;)V
-
-
Method Details
-
optionalValueFor
- Mappings:
Namespace Name Mixin selector named optionalValueForLnet/minecraft/world/debug/DebugSubscriptionType;optionalValueFor(Ljava/lang/Object;)Lnet/minecraft/world/debug/DebugSubscriptionType$OptionalValue;intermediary method_74570Lnet/minecraft/class_12017;method_74570(Ljava/lang/Object;)Lnet/minecraft/class_12017$class_12019;official aLbvs;a(Ljava/lang/Object;)Lbvs$b;
-
optionalValueFor
- Mappings:
Namespace Name Mixin selector named optionalValueForLnet/minecraft/world/debug/DebugSubscriptionType;optionalValueFor()Lnet/minecraft/world/debug/DebugSubscriptionType$OptionalValue;intermediary method_74569Lnet/minecraft/class_12017;method_74569()Lnet/minecraft/class_12017$class_12019;official aLbvs;a()Lbvs$b;
-
valueFor
- Mappings:
Namespace Name Mixin selector named valueForLnet/minecraft/world/debug/DebugSubscriptionType;valueFor(Ljava/lang/Object;)Lnet/minecraft/world/debug/DebugSubscriptionType$Value;intermediary method_74572Lnet/minecraft/class_12017;method_74572(Ljava/lang/Object;)Lnet/minecraft/class_12017$class_12018;official bLbvs;b(Ljava/lang/Object;)Lbvs$a;
-
toString
-
getPacketCodec
- Mappings:
Namespace Name Mixin selector named getPacketCodecLnet/minecraft/world/debug/DebugSubscriptionType;getPacketCodec()Lnet/minecraft/network/codec/PacketCodec;intermediary method_74571Lnet/minecraft/class_12017;method_74571()Lnet/minecraft/class_9139;official bLbvs;b()Laae;
-
getExpiry
public int getExpiry()- Mappings:
Namespace Name Mixin selector named getExpiryLnet/minecraft/world/debug/DebugSubscriptionType;getExpiry()Iintermediary method_74573Lnet/minecraft/class_12017;method_74573()Iofficial cLbvs;c()I
-