DonkeyProperties

Implementation of IDonkeyProperties for donkeys.

Constructors

Link copied to clipboard
public DonkeyProperties DonkeyProperties(ICommonProperties commonProperties, IHorseLikeProperties horseLikeProperties, Boolean hasChest)

Properties

Link copied to clipboard
private final Boolean hasChest

Whether the donkey has a chest.

Inherited properties

Link copied to clipboard
private final Identifier biome

Biome the container is in.

Link copied to clipboard
private final LocalDate date

The current date.

Link copied to clipboard
private final Boolean hasSaddle

Whether the horse is saddled.

Link copied to clipboard
private final Integer height

Y-coordinate of the container.

Link copied to clipboard
private final String name

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

Functions

Link copied to clipboard

Whether the donkey has a chest.

Link copied to clipboard
public Unit writeSelectors(BiConsumer<String, String> appendSelector)

Inherited functions

Link copied to clipboard

Biome the container is in.

Link copied to clipboard
public LocalDate getDate()

The current date.

Link copied to clipboard

Whether the horse is saddled.

Link copied to clipboard
public Integer getHeight()

Y-coordinate of the container.

Link copied to clipboard
public String getName()

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