CommonComparatorProperties

Default implementation for ComparatorProperties.

Constructors

Link copied to clipboard
public CommonComparatorProperties CommonComparatorProperties(Identifier container, String name, Identifier biome, Integer height, LocalDate date, Integer comparatorOutput)
public CommonComparatorProperties CommonComparatorProperties(Identifier container, String name, Identifier biome, Integer height, Integer comparatorOutput)

Properties

Link copied to clipboard
private final Identifier biome

Biome of a block entity or entity

Link copied to clipboard
private final Integer comparatorOutput

Gets the comparator output of the object.

Link copied to clipboard
private final Identifier container

The identifier of the container. Same as in the /summon or /setblock commands

Link copied to clipboard
private final LocalDate date

The current date

Link copied to clipboard
private final Integer height

Y-coordinate of a block entity or entity

Link copied to clipboard
private final String name

Custom entity or block entity name (renamed in an anvil or with a name tag)

Functions

Link copied to clipboard

Biome of a block entity or entity

Link copied to clipboard

Gets the comparator output of the object.

Link copied to clipboard

The identifier of the container. Same as in the /summon or /setblock commands

Link copied to clipboard
public LocalDate getDate()

The current date

Link copied to clipboard
public Integer getHeight()

Y-coordinate of a block entity or entity

Link copied to clipboard
public String getName()

Custom entity or block entity name (renamed in an anvil or with a name tag)