Package dev.latvian.mods.kubejs.client
Class VariantBlockStateGenerator
java.lang.Object
dev.latvian.mods.kubejs.client.VariantBlockStateGenerator
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsimpleVariant(String key, net.minecraft.resources.ResourceLocation model) com.google.gson.JsonObjecttoJson()voidvariant(String key, Consumer<VariantBlockStateGenerator.Variant> consumer) voidDeprecated.
-
Constructor Details
-
VariantBlockStateGenerator
public VariantBlockStateGenerator()
-
-
Method Details
-
variant
-
variant
@HideFromJS @Deprecated public void variant(String key, net.minecraft.resources.ResourceLocation model) Deprecated. -
simpleVariant
-
toJson
public com.google.gson.JsonObject toJson()
-