HorseProperties

Implementation of IHorseProperties for horses.

Constructors

Link copied to clipboard
public HorseProperties HorseProperties(ICommonProperties commonProperties, IHorseLikeProperties horseLikeProperties, String variant, String marking)

Properties

Link copied to clipboard
private final String marking

The marking on the horse.

Link copied to clipboard
private final String variant

The variant of the horse.

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
public String getMarking()

The marking on the horse.

Link copied to clipboard
public String getVariant()

The variant of the horse.

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