Class Variant

java.lang.Object
net.minecraft.data.models.blockstates.Variant
All Implemented Interfaces:
Supplier<com.google.gson.JsonElement>

public class Variant extends Object implements Supplier<com.google.gson.JsonElement>
  • Field Details

  • Constructor Details

    • Variant

      public Variant()
  • Method Details

    • with

      public <T> Variant with(VariantProperty<T> p_125512_, T p_125513_)
    • variant

      public static Variant variant()
    • merge

      public static Variant merge(Variant p_125509_, Variant p_125510_)
    • get

      public com.google.gson.JsonElement get()
      Specified by:
      get in interface Supplier<com.google.gson.JsonElement>
    • convertList

      public static com.google.gson.JsonElement convertList(List<Variant> p_125515_)