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
<List<ItemStack>> static final DataComponent
<SeededContainerLoot> static final DataComponent
<Unit> static final DataComponent
<CustomData> static final DataComponent
<Integer> static final DataComponent
<Component> static final DataComponent
<Integer> static final DataComponent
<DebugStickState> static final DataComponent
<DyedItemColor> static final DataComponent
<Boolean> static final DataComponent
<EnchantmentList> static final DataComponent
<CustomData> static final DataComponent
<Unit> static final DataComponent
<FireworkExplosion> static final DataComponent
<FireworkList> static final DataComponent
<Food> static final DataComponent
<Unit> static final DataComponent
<Unit> static final DataComponent
<String> static final DataComponent
<Unit> static final DataComponent
<Component> static final DataComponent
<JukeboxPlayable> static final DataComponent
<String> 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
<EnchantmentList> static final DataComponent
<SuspiciousStewEffects> static final DataComponent
<Tool> static final DataComponent
<ArmorTrim> static final DataComponent
<Unbreakable> static final DataComponent
<WritableBookContent> static final DataComponent
<WrittenBookContent> -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable DataComponent
<?> fromId
(int id) static @Nullable DataComponent
<?> fromNamespaceId
(@NotNull String namespaceId) static @Nullable DataComponent
<?> fromNamespaceId
(@NotNull NamespaceID namespaceId) static @NotNull Collection
<DataComponent<?>> values()
-
Field Details
-
CUSTOM_DATA
-
MAX_STACK_SIZE
-
MAX_DAMAGE
-
DAMAGE
-
UNBREAKABLE
-
CUSTOM_NAME
-
ITEM_NAME
-
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
-
FIRE_RESISTANT
-
TOOL
-
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
-
fromNamespaceId
@Nullable public static @Nullable DataComponent<?> fromNamespaceId(@NotNull @NotNull String namespaceId) -
fromNamespaceId
@Nullable public static @Nullable DataComponent<?> fromNamespaceId(@NotNull @NotNull NamespaceID namespaceId) -
fromId
-
values
-