Interface ItemType
- All Superinterfaces:
MappedEntity
- All Known Implementing Classes:
StaticItemType
-
Method Summary
Modifier and TypeMethodDescriptiondefault StaticComponentMapdefault StaticComponentMapgetComponents(ClientVersion clientVersion) intint@Nullable StateTypedefault booleanhasAttribute(ItemTypes.ItemAttribute attribute) default booleanMethods 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
-