Skip to main content

Module data_component_predicate

Module data_component_predicate 

Source
Expand description

Registry-dispatched partial data-component predicates.

ModulesΒ§

attributes πŸ”’
Generic collection predicate shared by container, firework, book, and attribute checks.
basic πŸ”’
books πŸ”’
collections πŸ”’
core πŸ”’
fireworks πŸ”’
registry_predicates πŸ”’
vanilla πŸ”’
vanilla_data_component_predicate_types
Vanilla component-predicate types in protocol registry order.

MacrosΒ§

impl_predicate_downcast_type πŸ”’

StructsΒ§

AttributeModifierEntryPredicate
Predicate for one attribute-modifier entry.
AttributeModifiersPredicate
Predicate over item attribute modifiers.
BundlePredicate
Nested item predicates over bundle contents.
CollectionCountPredicate
One element predicate and the accepted number of matching elements.
CollectionPredicate
Generic collection predicate shared by container, firework, book, and attribute checks.
ContainerPredicate
Nested item predicates over container contents.
CustomDataPredicate
Partial custom-data NBT predicate.
DamagePredicate
Durability and current-damage bounds.
DataComponentExactPredicate
Exact component values required by a component matcher.
DataComponentMatchers
Exact and partial component conditions flattened into block/item predicates.
DataComponentPredicateData
Type-erased predicate value retaining Steel’s deterministic concrete key.
DataComponentPredicateType
Registered discriminator and codecs for one concrete predicate value.
DataComponentPredicateTypeRegistry
Registry of concrete partial component predicate types.
EnchantmentPredicate
One enchantment holder-set and accepted level range.
EnchantmentsPredicate
Applied-enchantment predicates.
FireworkExplosionPredicate
Predicate over the firework_explosion component.
FireworkPredicate
Fields matched within one firework explosion.
FireworksPredicate
Predicate over firework explosions and flight duration.
JukeboxPlayablePredicate
Predicate over a jukebox-playable song holder.
PotionsPredicate
Accepted registered potion values.
StoredEnchantmentsPredicate
Stored-enchantment predicates.
TrimPredicate
Predicate over armor trim material and pattern holders.
VillagerTypePredicate
Predicate over registered villager variants.
WritableBookPagePredicate
Predicate for one writable-book page.
WritableBookPredicate
Predicate over writable-book pages.
WrittenBookPagePredicate
Predicate for one written-book page.
WrittenBookPredicate
Predicate over written-book metadata and pages.

TraitsΒ§

DataComponentPredicateCodec
Typed payload behavior for a registered partial component predicate.

Type AliasesΒ§

DataComponentPredicateTypeRef