Class DataComponentTypes
java.lang.Object
org.geysermc.mcprotocollib.protocol.data.game.item.component.DataComponentTypes
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final IntComponentTypestatic final DataComponentType<SwingAnimation> static final DataComponentType<AttackRange> static final DataComponentType<ItemAttributeModifiers> static final IntComponentTypestatic final DataComponentType<List<BannerPatternLayer>> static final IntComponentTypestatic final DataComponentType<List<BeehiveOccupant>> static final DataComponentType<TypedEntityData<BlockEntityType>> static final DataComponentType<BlockStateProperties> static final IntComponentTypestatic final DataComponentType<BlocksAttacks> static final DataComponentType<Sound> static final DataComponentType<BrewingFuel> static final DataComponentType<org.cloudburstmc.nbt.NbtMap> static final DataComponentType<List<ItemStack>> static final DataComponentType<AdventureModePredicate> static final DataComponentType<AdventureModePredicate> static final IntComponentTypestatic final IntComponentTypestatic final IntComponentTypestatic final DataComponentType<List<ItemStack>> static final IntComponentTypestatic final IntComponentTypestatic final DataComponentType<ResolvableInt> static final DataComponentType<Consumable> static final DataComponentType<List<Optional<ItemStack>>> static final DataComponentType<org.cloudburstmc.nbt.NbtMap> static final DataComponentType<CookingFuel> static final IntComponentTypestatic final IntComponentTypestatic final DataComponentType<Unit> static final IntComponentTypestatic final DataComponentType<org.cloudburstmc.nbt.NbtMap> static final DataComponentType<CustomModelData> static final DataComponentType<net.kyori.adventure.text.Component> static final IntComponentTypestatic final DataComponentType<HolderSet> static final IntComponentTypestatic final DataComponentType<List<ConsumeEffect>> static final DataComponentType<org.cloudburstmc.nbt.NbtMap> static final IntComponentTypestatic final IntComponentTypestatic final IntComponentTypestatic final BooleanComponentTypestatic final DataComponentType<ItemEnchantments> static final DataComponentType<TypedEntityData<EntityType>> static final DataComponentType<Equippable> static final DataComponentType<Fireworks.FireworkExplosion> static final DataComponentType<Fireworks> static final DataComponentType<FoodProperties> static final IntComponentTypestatic final IntComponentTypestatic final DataComponentType<Unit> static final IntComponentTypestatic final DataComponentType<Holder<Instrument>> static final DataComponentType<Unit> static final DataComponentType<SwingAnimation> static final DataComponentType<net.kyori.adventure.key.Key> static final DataComponentType<net.kyori.adventure.text.Component> static final DataComponentType<Holder<JukeboxSong>> static final DataComponentType<KineticWeapon> static final IntComponentTypestatic final DataComponentType<org.cloudburstmc.nbt.NbtMap> static final DataComponentType<LodestoneTracker> static final DataComponentType<List<net.kyori.adventure.text.Component>> static final DataComponentType<org.cloudburstmc.nbt.NbtMap> static final IntComponentTypestatic final IntComponentTypestatic final IntComponentTypestatic final IntComponentTypestatic final DataComponentType<Float> static final DataComponentType<MobVisibility> static final IntComponentTypestatic final DataComponentType<net.kyori.adventure.key.Key> static final IntComponentTypestatic final DataComponentType<Holder<PaintingVariant>> static final IntComponentTypestatic final DataComponentType<PiercingWeapon> static final IntComponentTypestatic final IntComponentTypestatic final DataComponentType<PotDecorations> static final DataComponentType<PotionContents> static final DataComponentType<Float> static final DataComponentType<ResolvableProfile> static final DataComponentType<HolderSet> static final IntComponentTypestatic final DataComponentType<Holder<ArmorTrim.TrimMaterial>> static final IntComponentTypestatic final IntComponentTypestatic final DataComponentType<org.cloudburstmc.nbt.NbtList<?>> static final IntComponentTypestatic final DataComponentType<HolderSet> static final IntComponentTypestatic final IntComponentTypestatic final IntComponentTypestatic final DataComponentType<SignText> static final DataComponentType<SignText> static final DataComponentType<ItemEnchantments> static final DataComponentType<ItemStack> static final DataComponentType<List<SuspiciousStewEffect>> static final DataComponentType<ToolData> static final DataComponentType<TooltipDisplay> static final DataComponentType<net.kyori.adventure.key.Key> static final DataComponentType<ArmorTrim> static final IntComponentTypestatic final IntComponentTypestatic final IntComponentTypestatic final DataComponentType<Unit> static final DataComponentType<UseCooldown> static final DataComponentType<UseEffects> static final DataComponentType<ItemStack> static final IntComponentTypestatic final IntComponentTypestatic final DataComponentType<Unit> static final DataComponentType<Weapon> static final IntComponentTypestatic final IntComponentTypestatic final IntComponentTypestatic final DataComponentType<WritableBookContent> static final DataComponentType<WrittenBookContent> static final IntComponentType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DataComponentType<?> from(int id) static @Nullable DataComponentType<?> fromKey(net.kyori.adventure.key.Key key) static DataComponentType<?> read(io.netty.buffer.ByteBuf in) static <T extends DataComponentType<?>>
Tregister(it.unimi.dsi.fastutil.ints.Int2ObjectFunction<T> factory) static intsize()
-
Field Details
-
CUSTOM_DATA
-
MAX_STACK_SIZE
-
MAX_DAMAGE
-
DAMAGE
-
UNBREAKABLE
-
USE_EFFECTS
-
CUSTOM_NAME
-
MINIMUM_ATTACK_CHARGE
-
DAMAGE_TYPE
-
ITEM_NAME
-
ITEM_MODEL
-
LORE
-
RARITY
-
ENCHANTMENTS
-
CAN_PLACE_ON
-
CAN_BREAK
-
ATTRIBUTE_MODIFIERS
-
CUSTOM_MODEL_DATA
-
TOOLTIP_DISPLAY
-
REPAIR_COST
-
CREATIVE_SLOT_LOCK
-
ENCHANTMENT_GLINT_OVERRIDE
-
INTANGIBLE_PROJECTILE
-
FOOD
-
CONSUMABLE
-
USE_REMAINDER
-
USE_COOLDOWN
-
DAMAGE_RESISTANT
-
TOOL
-
WEAPON
-
ATTACK_RANGE
-
ENCHANTABLE
-
EQUIPPABLE
-
REPAIRABLE
-
GLIDER
-
TOOLTIP_STYLE
-
DEATH_PROTECTION
-
BLOCKS_ATTACKS
-
PIERCING_WEAPON
-
KINETIC_WEAPON
-
ATTACK_ANIMATION
-
INTERACT_ANIMATION
-
ADDITIONAL_TRADE_COST
-
BLOCK_TRANSFORMER
-
VILLAGER_FOOD
-
STORED_ENCHANTMENTS
-
DYE
-
DYED_COLOR
-
MAP_ID
-
MAP_DECORATIONS
-
MAP_POST_PROCESSING
-
CHARGED_PROJECTILES
-
BUNDLE_CONTENTS
-
POTION_CONTENTS
-
POTION_DURATION_SCALE
-
SUSPICIOUS_STEW_EFFECTS
-
WRITABLE_BOOK_CONTENT
-
WRITTEN_BOOK_CONTENT
-
TRIM
-
DEBUG_STICK_STATE
-
ENTITY_DATA
-
BUCKET_ENTITY_DATA
-
BLOCK_ENTITY_DATA
-
INSTRUMENT
-
PROVIDES_TRIM_MATERIAL
-
OMINOUS_BOTTLE_AMPLIFIER
-
JUKEBOX_PLAYABLE
-
PROVIDES_BANNER_PATTERNS
-
RECIPES
-
LODESTONE_TRACKER
-
FIREWORK_EXPLOSION
-
FIREWORKS
-
PROFILE
-
NOTE_BLOCK_SOUND
-
BANNER_PATTERNS
-
BASE_COLOR
-
POT_DECORATIONS
-
CONTAINER
-
BLOCK_STATE
-
BEES
-
SULFUR_CUBE_CONTENT
-
LOCK
-
CONTAINER_LOOT
-
BREAK_SOUND
-
COMPOSTABLE
-
COOKING_FUEL
-
BREWING_FUEL
-
MOB_VISIBILITY
-
VILLAGER_VARIANT
-
WOLF_VARIANT
-
WOLF_SOUND_VARIANT
-
WOLF_COLLAR
-
FOX_VARIANT
-
SALMON_SIZE
-
PARROT_VARIANT
-
TROPICAL_FISH_PATTERN
-
TROPICAL_FISH_BASE_COLOR
-
TROPICAL_FISH_PATTERN_COLOR
-
MOOSHROOM_VARIANT
-
RABBIT_VARIANT
-
PIG_VARIANT
-
PIG_SOUND_VARIANT
-
COW_VARIANT
-
COW_SOUND_VARIANT
-
CHICKEN_VARIANT
-
CHICKEN_SOUND_VARIANT
-
ZOMBIE_NAUTILUS_VARIANT
-
FROG_VARIANT
-
HORSE_VARIANT
-
PAINTING_VARIANT
-
LLAMA_VARIANT
-
AXOLOTL_VARIANT
-
CAT_VARIANT
-
CAT_SOUND_VARIANT
-
CAT_COLLAR
-
SHEEP_COLOR
-
SHULKER_COLOR
-
PROVIDES_POTTERY_PATTERN
-
SIGN_TEXT_FRONT
-
SIGN_TEXT_BACK
-
WAXED
-
CUSHION_COLOR
-
-
Constructor Details
-
DataComponentTypes
public DataComponentTypes()
-
-
Method Details
-
register
public static <T extends DataComponentType<?>> T register(it.unimi.dsi.fastutil.ints.Int2ObjectFunction<T> factory) -
read
-
from
-
fromKey
-
size
public static int size()
-