CatVariantBuilder

A builder for a cat variant.

Properties

Link copied to clipboard
abstract val entry: RegistryEntry.Paper<Cat.Type>

The entry of the element being built.

Functions

Link copied to clipboard
abstract fun spawnConditions(spawnConditions: SpawnConditionsBuilder.() -> Unit)

Configures the conditions under which this entity variant can spawn.

Link copied to clipboard
abstract fun tags(vararg tags: RegistryEntrySet.Paper.Tag<Cat.Type>)

Adds the entry of the element being build to the given tags.

Link copied to clipboard
abstract fun texture(texture: AgingEntityVariantLayoutBuilder.() -> Unit)

Configures the texture of the entity variant using the default model type.

abstract fun texture(modelType: Unit, texture: AgingEntityVariantLayoutBuilder.() -> Unit)

Configures the modelType and texture of the entity variant.