Class VariantProperty<T>

java.lang.Object
net.minecraft.data.models.blockstates.VariantProperty<T>

public class VariantProperty<T> extends Object
  • Field Details

    • key

      final String key
    • serializer

      final Function<T,com.google.gson.JsonElement> serializer
  • Constructor Details

    • VariantProperty

      public VariantProperty(String p_125549_, Function<T,com.google.gson.JsonElement> p_125550_)
  • Method Details