HorseProperties

data class HorseProperties(commonProperties: ICommonProperties, horseLikeProperties: IHorseLikeProperties, val variant: String, val marking: String) : ICommonProperties, IHorseLikeProperties, IHorseProperties(source)

Implementation of IHorseProperties for horses.

Constructors

Link copied to clipboard
constructor(commonProperties: ICommonProperties, horseLikeProperties: IHorseLikeProperties, variant: String, marking: String)

Properties

Link copied to clipboard
open override val marking: String

The marking on the horse.

Link copied to clipboard
open override val variant: String

The variant of the horse.

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 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>)