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
named net/minecraft/data/client/VariantSetting$Value
intermediary net/minecraft/class_4938$class_4939
official oc$a
  • Field Details

    • value

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

    • Value

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

    • getParent

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

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

      public String toString()
      Overrides:
      toString in class Object