LlamaProperties

data class LlamaProperties @JvmOverloads constructor(val container: Identifier, val name: String?, val biome: Identifier?, val height: Int, val carpetColor: String?, val date: LocalDate = LocalDate.now(), val hasChest: Boolean = false) : CommonProperties, DonkeyBaseProperties(source)

Properties for llamas.

Parameters

carpetColor

The carpet color of a llama or null, if it doesn't have a carpet.

Constructors

Link copied to clipboard
constructor(container: Identifier, name: String?, biome: Identifier?, height: Int, carpetColor: String?, date: LocalDate = LocalDate.now(), hasChest: Boolean = false)

Properties

Link copied to clipboard
open override val biome: Identifier?

Biome of a block entity or entity

Link copied to clipboard
Link copied to clipboard
open override val container: Identifier

The identifier of the container. Same as in the /summon or /setblock commands

Link copied to clipboard
open override val date: LocalDate

The current date

Link copied to clipboard
open override val hasChest: Boolean = false

Whether the entity has a chest

Link copied to clipboard
open override val height: Int

Y-coordinate of a block entity or entity

Link copied to clipboard
open override val name: String?

Custom entity or block entity name (renamed in an anvil or with a name tag)