Class DebugSubscriptionType<T>

java.lang.Object
net.minecraft.world.debug.DebugSubscriptionType<T>

public class DebugSubscriptionType<T> extends Object
Mappings:
Namespace Name
named net/minecraft/world/debug/DebugSubscriptionType
intermediary net/minecraft/class_12017
official bxa
  • Field Details

    • DEFAULT_EXPIRY

      public static final int DEFAULT_EXPIRY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named DEFAULT_EXPIRY Lnet/minecraft/world/debug/DebugSubscriptionType;DEFAULT_EXPIRY:I
      intermediary field_62864 Lnet/minecraft/class_12017;field_62864:I
      official a Lbxa;a:I
    • packetCodec

      @Nullable final @Nullable PacketCodec<? super RegistryByteBuf,T> packetCodec
      Mappings:
      Namespace Name Mixin selector
      named packetCodec Lnet/minecraft/world/debug/DebugSubscriptionType;packetCodec:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_62865 Lnet/minecraft/class_12017;field_62865:Lnet/minecraft/class_9139;
      official b Lbxa;b:Laat;
    • expiry

      private final int expiry
      Mappings:
      Namespace Name Mixin selector
      named expiry Lnet/minecraft/world/debug/DebugSubscriptionType;expiry:I
      intermediary field_62866 Lnet/minecraft/class_12017;field_62866:I
      official c Lbxa;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)V
      intermediary <init> Lnet/minecraft/class_12017;<init>(Lnet/minecraft/class_9139;I)V
      official <init> Lbxa;<init>(Laat;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;)V
      intermediary <init> Lnet/minecraft/class_12017;<init>(Lnet/minecraft/class_9139;)V
      official <init> Lbxa;<init>(Laat;)V
  • Method Details

    • optionalValueFor

      public DebugSubscriptionType.OptionalValue<T> optionalValueFor(@Nullable T value)
      Mappings:
      Namespace Name Mixin selector
      named optionalValueFor Lnet/minecraft/world/debug/DebugSubscriptionType;optionalValueFor(Ljava/lang/Object;)Lnet/minecraft/world/debug/DebugSubscriptionType$OptionalValue;
      intermediary method_74570 Lnet/minecraft/class_12017;method_74570(Ljava/lang/Object;)Lnet/minecraft/class_12017$class_12019;
      official a Lbxa;a(Ljava/lang/Object;)Lbxa$b;
    • optionalValueFor

      public DebugSubscriptionType.OptionalValue<T> optionalValueFor()
      Mappings:
      Namespace Name Mixin selector
      named optionalValueFor Lnet/minecraft/world/debug/DebugSubscriptionType;optionalValueFor()Lnet/minecraft/world/debug/DebugSubscriptionType$OptionalValue;
      intermediary method_74569 Lnet/minecraft/class_12017;method_74569()Lnet/minecraft/class_12017$class_12019;
      official a Lbxa;a()Lbxa$b;
    • valueFor

      public DebugSubscriptionType.Value<T> valueFor(T value)
      Mappings:
      Namespace Name Mixin selector
      named valueFor Lnet/minecraft/world/debug/DebugSubscriptionType;valueFor(Ljava/lang/Object;)Lnet/minecraft/world/debug/DebugSubscriptionType$Value;
      intermediary method_74572 Lnet/minecraft/class_12017;method_74572(Ljava/lang/Object;)Lnet/minecraft/class_12017$class_12018;
      official b Lbxa;b(Ljava/lang/Object;)Lbxa$a;
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getPacketCodec

      @Nullable public @Nullable PacketCodec<? super RegistryByteBuf,T> getPacketCodec()
      Mappings:
      Namespace Name Mixin selector
      named getPacketCodec Lnet/minecraft/world/debug/DebugSubscriptionType;getPacketCodec()Lnet/minecraft/network/codec/PacketCodec;
      intermediary method_74571 Lnet/minecraft/class_12017;method_74571()Lnet/minecraft/class_9139;
      official b Lbxa;b()Laat;
    • getExpiry

      public int getExpiry()
      Mappings:
      Namespace Name Mixin selector
      named getExpiry Lnet/minecraft/world/debug/DebugSubscriptionType;getExpiry()I
      intermediary method_74573 Lnet/minecraft/class_12017;method_74573()I
      official c Lbxa;c()I