PigVariantBuilder
class PigVariantBuilder : EntityVariantBuilder<Pig.Variant, PigModelType, PigVariant, EntityVariantLayout.Simple, SimpleEntityVariantLayoutBuilder>
Functions
Link copied to clipboard
Configures the conditions under which this entity variant can spawn.
Link copied to clipboard
fun texture(modelType: PigModelType = defaultModelType, texture: SimpleEntityVariantLayoutBuilder.() -> Unit)