DonkeyProperties

data class DonkeyProperties(val hasChest: Boolean, val container: Identifier, val name: String?, val biome: Identifier?, val height: Int, val date: LocalDate = LocalDate.now()) : CommonProperties, DonkeyBaseProperties(source)

Default implementation of DonkeyBaseProperties

Constructors

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

Properties

Link copied to clipboard
open override val biome: Identifier?

Biome of a block entity or entity

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

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)