FrogVariantBuilder

A builder for a frog variant.

Properties

Link copied to clipboard
abstract val entry: RegistryEntry.Paper<Frog.Variant>

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<Frog.Variant>)

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

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

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

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

Configures the modelType and texture of the entity variant.