Condition

public final class Condition extends Record implements PredicateRecord

condition predicate (boolean property like broken/damaged/has_component/etc.).

Constructors

Link copied to clipboard
public void PredicateRecord.Condition(String property, boolean expected, Map<String, JsonElement> extras)

Functions

Link copied to clipboard
public JsonObject toGeyserJson()
Emits the Geyser-format JSON object for this predicate.

Inherited functions

Link copied to clipboard
public abstract boolean equals(Object p)
Link copied to clipboard
public abstract int hashCode()
Link copied to clipboard
public abstract String toString()