LlamaProperties

Implementation of ILlamaProperties for llamas.

Constructors

Link copied to clipboard
public LlamaProperties LlamaProperties(DonkeyProperties donkeyProperties, String carpetColor, String variant)
public LlamaProperties LlamaProperties(ICommonProperties commonProperties, IDonkeyProperties donkeyProperties, String carpetColor, String variant)

Properties

Link copied to clipboard
private final String carpetColor

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

Link copied to clipboard
private final String variant

The variant of the llama.

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 hasChest

Whether the donkey has a chest.

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

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

Link copied to clipboard
public String getVariant()

The variant of the llama.

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 donkey has a chest.

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