ChestBoatProperties

Implementation of IChestBoatProperties for chest boats.

Constructors

Link copied to clipboard

Properties

Link copied to clipboard
private final String variant

Gets the variant (wood material) of the boat.

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

Gets the variant (wood material) of the boat.

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