Package net.minestom.server.item
Interface ItemMeta
- All Superinterfaces:
- NetworkBuffer.Writer,- TagReadable
- 
Nested Class SummaryNested Classes
- 
Method SummaryModifier and TypeMethodDescriptiondefault booleancanDestroy(@NotNull Block block) default booleancanPlaceOn(@NotNull Block block) default @NotNull List<@NotNull ItemAttribute> default intdefault intdefault @Nullable Componentdefault @NotNull Map<Enchantment, Short> default intgetLore()<T> @UnknownNullability TReads the specified tag.default boolean@NotNull org.jglrxavpok.hephaistos.nbt.NBTCompoundtoNBT()@NotNull StringtoSNBT()@NotNull ItemMetawith(@NotNull Consumer<@NotNull ItemMeta.Builder> builderConsumer) Methods inherited from interface net.minestom.server.network.NetworkBuffer.WriterwriteMethods inherited from interface net.minestom.server.tag.TagReadablehasTag
- 
Method Details- 
getTagDescription copied from interface:TagReadableReads the specified tag.- Specified by:
- getTagin interface- TagReadable
- Type Parameters:
- T- the tag type
- Parameters:
- tag- the tag to read
- Returns:
- the read tag, null if not present
 
- 
with@Contract(value="_, -> new", pure=true) @NotNull @NotNull ItemMeta with(@NotNull @NotNull Consumer<@NotNull ItemMeta.Builder> builderConsumer) 
- 
toNBT@NotNull @NotNull org.jglrxavpok.hephaistos.nbt.NBTCompound toNBT()
- 
toSNBT
- 
getDamage@Contract(pure=true) default int getDamage()
- 
isUnbreakable@Contract(pure=true) default boolean isUnbreakable()
- 
getHideFlag@Contract(pure=true) default int getHideFlag()
- 
getDisplayName
- 
getLore
- 
getEnchantmentMap
- 
getAttributes
- 
getCustomModelData@Contract(pure=true) default int getCustomModelData()
- 
getCanDestroy
- 
canDestroy
- 
getCanPlaceOn
- 
canPlaceOn
 
-