LlamaProperties

class LlamaProperties(commonProperties: ICommonProperties, donkeyProperties: IDonkeyProperties, val carpetColor: String?, val variant: String) : ICommonProperties, IDonkeyProperties, ILlamaProperties(source)

Implementation of ILlamaProperties for llamas.

Constructors

Link copied to clipboard
constructor(donkeyProperties: DonkeyProperties, carpetColor: String?, variant: String)
constructor(commonProperties: ICommonProperties, donkeyProperties: IDonkeyProperties, carpetColor: String?, variant: String)

Properties

Link copied to clipboard
open override val carpetColor: String?

The color of the carpet on the llama or null, if there is no carpet on the llama.

Link copied to clipboard
open override val variant: String

The variant of the llama.

Inherited properties

Link copied to clipboard
open override val biome: Identifier

Biome the container is in.

Link copied to clipboard
open override val date: LocalDate

The current date.

Link copied to clipboard
open override val hasChest: Boolean

Whether the donkey has a chest.

Link copied to clipboard
open override val hasSaddle: Boolean

Whether the horse is saddled.

Link copied to clipboard
open override val height: Int

Y-coordinate of the container.

Link copied to clipboard
open override val name: String?

Custom container name (renamed with an anvil or with a name tag).

Functions

Link copied to clipboard
open override fun writeSelectors(appendSelector: BiConsumer<String, String>)