Skip to main content

Module item_predicate

Module item_predicate 

Source
Expand description

Vanilla item, block, state, and NBT predicate codec values.

Structsยง

AdventureModePredicate
Non-empty list of block predicates used by can_break and can_place_on.
BlockPredicate
Vanilla block predicate used by adventure-mode item components.
DoubleBounds
Vanilla double min/max bounds.
IntBounds
Vanilla integer min/max bounds.
ItemPredicate
Vanilla item predicate used by lock codes and nested component predicates.
LockCode
Vanilla lock-code component value.
NbtPredicate
Vanilla partial-NBT predicate.
StatePropertiesPredicate
Vanilla state-properties predicate.
StatePropertyMatcher
A named state property and its value matcher.

Enumsยง

StatePropertyValueMatcher
One exact or ranged block-state property matcher.

Constantsยง

DEFAULT_NBT_QUOTA ๐Ÿ”’
MAX_UTF_LENGTH ๐Ÿ”’

Functionsยง

decode_optional ๐Ÿ”’
hash_entries ๐Ÿ”’
java_double_bits ๐Ÿ”’
java_double_compare ๐Ÿ”’
java_double_equals ๐Ÿ”’
option_double_equals ๐Ÿ”’
optional_string ๐Ÿ”’
push_hash_entry ๐Ÿ”’
push_prehashed_entry ๐Ÿ”’
read_len ๐Ÿ”’
read_network_nbt ๐Ÿ”’
read_optional_utf ๐Ÿ”’
read_utf ๐Ÿ”’
write_len ๐Ÿ”’
write_optional_utf ๐Ÿ”’
write_utf ๐Ÿ”’