Structs§
- Attribute
Modifier - Modifies a player’s attributes (like Strength or Speed).
- Banner
Layer - Defines a layer on a Banner.
- Banner
Pattern - BeeData
- Information about a Bee inside a Beehive.
- Block
Predicate - Defines a rule for matching a block in the world.
Used by
CanPlaceOnandCanBreakin Adventure Mode. - Consume
Effect - A wrapper for the various effects caused by consuming an item.
- Damage
Reduction - Shield logic for reducing damage.
- Exact
Component Matcher - Matches a component exactly.
- Firework
Explosion Data - Defines a single explosion in a Firework Rocket.
- Hashed
Item Stack - Instrument
Definition - Defines a Goat Horn instrument.
- Item
Stack - A stack of items in an inventory.
- Jukebox
Song - Defines a Music Disc song.
- Lodestone
Target - Painting
Variant Definition - Defines a variant of a painting entity.
- Partial
Component Matcher - Matches a subset of data within a component using NBT.
- Potion
Effect - A standard Potion Effect.
- Profile
Property - Property
- Resolvable
Profile - Represents a Player’s Game Profile (Skin/UUID).
- Sound
Event Definition - Defines a sound event, either by referencing the registry or defining it on the fly.
- Tool
Rule - Defines custom mining speed logic for a tool.
- Trim
Material - Defines a material used to trim armor (e.g., Gold, Amethyst).
- Trim
Pattern - Defines the shape/pattern of the armor trim (e.g., Vex, Coast).
- Writable
Page - A page in a Book and Quill (Writable).
- Written
Page - A page in a Finished Book (Written).
Enums§
- Attribute
Slot - Axolotl
Type - Consumable
Animation - Consume
Effect Data - DyeColor
- Equip
Slot - FoxType
- Horse
Color - Item
Component - Item
Kind - Represents an item from the game
- Llama
Color - MapPost
Processing Type - Mode
Pair - A helper struct for protocol fields that start with a “Mode” byte.
- Mooshroom
Type - Parrot
Type - Property
Value - Rabbit
Type - Rarity
- Salmon
Scale - Tropical
Fish Pattern