Structs§
- Attribute
Modifier - An attribute modifier for SetAttributes function.
- Banner
Pattern - A banner pattern layer.
- Block
Entity Ref - A reference to a block entity for loot context.
- Block
Predicate - Predicate for checking block properties.
- Conditional
Loot Function - A function with optional conditions.
- Copy
Data Operation - Copy data operation for CopyCustomData.
- Damage
Source Info - Damage source information for loot context.
- Damage
Source Predicate - Predicate for checking damage source properties.
- Damage
TagPredicate - A tag check for damage source.
- Entity
Equipment - Entity equipment predicate
- Entity
Equipment Ref - Equipment references for an entity.
- Entity
Flags - Entity flags (is_on_fire, is_sneaking, etc.)
- Entity
Predicate - Predicate for checking entity properties.
- Entity
Ref - A reference to an entity for loot context. This is intentionally opaque - the actual entity type depends on game implementation.
- Entity
RefFlags - Entity flags for predicate checking.
- Firework
Explosion - A firework explosion definition.
- Location
Predicate - Predicate for checking location/block properties.
- Loot
Context - Context for loot table evaluation, containing all relevant game state.
- Loot
Context Ref - Reference to loot context for number provider evaluation. This is a simplified view to avoid circular references.
- Loot
Pool - A pool of loot entries with roll counts.
- Loot
Table - A complete loot table definition.
- Loot
Table Registry - Registry for loot tables.
- Number
Provider Range - A range for number comparisons (used in ValueCheck, TimeCheck, EntityScores).
- Property
Check - A property check for block state conditions.
- Stew
Effect - A stew effect for suspicious stew.
- Weather
State - Weather state for WeatherCheck condition.
Enums§
- Attribute
Operation - Attribute modifier operation type.
- Bonus
Formula - Formula types for apply_bonus function.
- Copy
Data Op - Operation type for data copying.
- Copy
Source - Source for copying components.
- DyeColor
- Dye/banner color.
- Enchanted
Chance - Enchanted chance calculation method.
- Enchantment
Options - Options for selecting enchantments - either a tag reference or explicit list.
- Equipment
Slot Group - Equipment/attribute slot group for enchantments and attributes.
- Firework
Shape - Firework explosion shape.
- List
Operation - Operation mode for list modifications (lore, book pages).
- Loot
Condition - A condition that must be met for a loot entry or pool to apply.
- Loot
Context Entity - Entity target for loot context lookups.
- Loot
Entry - A loot table entry that can generate items.
- Loot
Function - A function that modifies loot items.
- Loot
Type - The type of loot table, determining when/how it’s used.
- Name
Target - Target for set_name function.
- Number
Provider - A number provider that can be constant or random.
- Scoreboard
Target - Target for scoreboard number provider.
- Slot
Range - A range of slots for the Slots entry type.
- Tool
Predicate - Predicate for matching tools.