Interface ItemType
- All Superinterfaces:
MappedEntity
- All Known Implementing Classes:
StaticItemType
-
Method Summary
Modifier and TypeMethodDescriptiondefault StaticComponentMap
default StaticComponentMap
getComponents
(ClientVersion clientVersion) int
int
@Nullable StateType
default boolean
hasAttribute
(ItemTypes.ItemAttribute attribute) default boolean
Methods inherited from interface com.github.retrooper.packetevents.protocol.mapper.MappedEntity
getId, getName, isRegistered
-
Method Details
-
getMaxAmount
int getMaxAmount() -
getMaxDurability
int getMaxDurability() -
isMusicDisc
default boolean isMusicDisc() -
getCraftRemainder
ItemType getCraftRemainder() -
getPlacedType
-
getAttributes
Set<ItemTypes.ItemAttribute> getAttributes() -
hasAttribute
-
getComponents
-
getComponents
-