Class VariantSetting.Value

java.lang.Object
net.minecraft.data.client.VariantSetting.Value
Enclosing class:
VariantSetting<T>

public class VariantSetting.Value extends Object
Mappings:
Namespace Name
official kh$a
intermediary net/minecraft/class_4938$class_4939
named net/minecraft/data/client/VariantSetting$Value
  • Field Details

    • value

      private final T value
      Mappings:
      Namespace Name Mixin selector
      official b Lkh$a;b:Ljava/lang/Object;
      intermediary field_22899 Lnet/minecraft/class_4938$class_4939;field_22899:Ljava/lang/Object;
      named value Lnet/minecraft/data/client/VariantSetting$Value;value:Ljava/lang/Object;
  • Constructor Details

    • Value

      public Value(T value)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lkh$a;<init>(Lkh;Ljava/lang/Object;)V
      intermediary <init> Lnet/minecraft/class_4938$class_4939;<init>(Lnet/minecraft/class_4938;Ljava/lang/Object;)V
      named <init> Lnet/minecraft/data/client/VariantSetting$Value;<init>(Lnet/minecraft/data/client/VariantSetting;Ljava/lang/Object;)V
  • Method Details

    • getParent

      public VariantSetting<T> getParent()
      Mappings:
      Namespace Name Mixin selector
      official a Lkh$a;a()Lkh;
      intermediary method_35907 Lnet/minecraft/class_4938$class_4939;method_35907()Lnet/minecraft/class_4938;
      named getParent Lnet/minecraft/data/client/VariantSetting$Value;getParent()Lnet/minecraft/data/client/VariantSetting;
    • writeTo

      public void writeTo(JsonObject json)
      Mappings:
      Namespace Name Mixin selector
      official a Lkh$a;a(Lcom/google/gson/JsonObject;)V
      intermediary method_25838 Lnet/minecraft/class_4938$class_4939;method_25838(Lcom/google/gson/JsonObject;)V
      named writeTo Lnet/minecraft/data/client/VariantSetting$Value;writeTo(Lcom/google/gson/JsonObject;)V
    • toString

      public String toString()
      Overrides:
      toString in class Object