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 ld$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 Lld$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> Lld$a;<init>(Lld;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 Lld$a;a()Lld;
      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(com.google.gson.JsonObject json)
      Mappings:
      Namespace Name Mixin selector
      official a Lld$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