Package net.minestom.server.item
Class ItemComponent
java.lang.Object
net.minestom.server.item.ItemComponent
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DataComponent<AttributeList> static final DataComponent<BannerPatterns> static final DataComponent<DyeColor> static final DataComponent<List<Bee>> static final DataComponent<CustomData> static final DataComponent<ItemBlockState> static final DataComponent<CustomData> static final DataComponent<List<ItemStack>> static final DataComponent<BlockPredicates> static final DataComponent<BlockPredicates> static final DataComponent<List<ItemStack>> static final DataComponent<Consumable> static final DataComponent<List<ItemStack>> static final DataComponent<SeededContainerLoot> static final DataComponent<Unit> static final DataComponent<CustomData> static final DataComponent<CustomModelData> static final DataComponent<Component> static final DataComponent<Integer> static final DataComponent<DamageResistant> static final DataComponent<DeathProtection> static final DataComponent<DebugStickState> static final DataComponent<DyedItemColor> static final DataComponent<Integer> static final DataComponent<Boolean> static final DataComponent<EnchantmentList> static final DataComponent<CustomData> static final DataComponent<Equippable> static final DataComponent<FireworkExplosion> static final DataComponent<FireworkList> static final DataComponent<Food> static final DataComponent<Unit> static final DataComponent<Unit> static final DataComponent<Unit> static final DataComponent<DynamicRegistry.Key<Instrument>> static final DataComponent<Unit> static final DataComponent<String> static final DataComponent<Component> static final DataComponent<JukeboxPlayable> static final DataComponent<net.kyori.adventure.nbt.CompoundBinaryTag> static final DataComponent<LodestoneTracker> static final DataComponent<List<Component>> static final DataComponent<RGBLike> static final DataComponent<MapDecorations> static final DataComponent<Integer> static final DataComponent<MapPostProcessing> static final DataComponent<Integer> static final DataComponent<Integer> static final DataComponent<String> static final DataComponent<Integer> static final BinaryTagSerializer<DataComponentMap> static final NetworkBuffer.Type<DataComponentMap> static final DataComponent<PotDecorations> static final DataComponent<PotionContents> static final DataComponent<HeadProfile> static final DataComponent<ItemRarity> static final DataComponent<List<String>> static final DataComponent<Integer> static final DataComponent<ObjectSet<Material>> static final DataComponent<EnchantmentList> static final DataComponent<SuspiciousStewEffects> static final DataComponent<Tool> static final DataComponent<String> static final DataComponent<ArmorTrim> static final DataComponent<Unbreakable> static final DataComponent<UseCooldown> static final DataComponent<ItemStack> static final DataComponent<WritableBookContent> static final DataComponent<WrittenBookContent> -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable DataComponent<?> fromId(int id) static @Nullable DataComponent<?> static @Nullable DataComponent<?> fromKey(@NotNull net.kyori.adventure.key.Key key) static @NotNull Collection<DataComponent<?>> values()
-
Field Details
-
CUSTOM_DATA
-
MAX_STACK_SIZE
-
MAX_DAMAGE
-
DAMAGE
-
UNBREAKABLE
-
CUSTOM_NAME
-
ITEM_NAME
-
ITEM_MODEL
-
LORE
-
RARITY
-
ENCHANTMENTS
-
CAN_PLACE_ON
-
CAN_BREAK
-
ATTRIBUTE_MODIFIERS
-
CUSTOM_MODEL_DATA
-
HIDE_ADDITIONAL_TOOLTIP
-
HIDE_TOOLTIP
-
REPAIR_COST
-
CREATIVE_SLOT_LOCK
-
ENCHANTMENT_GLINT_OVERRIDE
-
INTANGIBLE_PROJECTILE
-
FOOD
-
CONSUMABLE
-
USE_REMAINDER
-
USE_COOLDOWN
-
DAMAGE_RESISTANT
-
TOOL
-
ENCHANTABLE
-
EQUIPPABLE
-
REPAIRABLE
-
GLIDER
-
TOOLTIP_STYLE
-
DEATH_PROTECTION
-
STORED_ENCHANTMENTS
-
DYED_COLOR
-
MAP_COLOR
-
MAP_ID
-
MAP_DECORATIONS
-
MAP_POST_PROCESSING
-
CHARGED_PROJECTILES
-
BUNDLE_CONTENTS
-
POTION_CONTENTS
-
SUSPICIOUS_STEW_EFFECTS
-
WRITABLE_BOOK_CONTENT
-
WRITTEN_BOOK_CONTENT
-
TRIM
-
DEBUG_STICK_STATE
-
ENTITY_DATA
-
BUCKET_ENTITY_DATA
-
BLOCK_ENTITY_DATA
-
INSTRUMENT
-
OMINOUS_BOTTLE_AMPLIFIER
-
JUKEBOX_PLAYABLE
-
RECIPES
-
LODESTONE_TRACKER
-
FIREWORK_EXPLOSION
-
FIREWORKS
-
PROFILE
-
NOTE_BLOCK_SOUND
-
BANNER_PATTERNS
-
BASE_COLOR
-
POT_DECORATIONS
-
CONTAINER
-
BLOCK_STATE
-
BEES
-
LOCK
-
CONTAINER_LOOT
-
PATCH_NETWORK_TYPE
-
PATCH_NBT_TYPE
-
-
Method Details
-
fromKey
-
fromKey
@Nullable public static @Nullable DataComponent<?> fromKey(@NotNull @NotNull net.kyori.adventure.key.Key key) -
fromId
-
values
-