Class StaticItemType
java.lang.Object
com.github.retrooper.packetevents.protocol.mapper.AbstractMappedEntity
com.github.retrooper.packetevents.protocol.item.type.StaticItemType
- All Implemented Interfaces:
ItemType,MappedEntity
-
Field Summary
Fields inherited from class com.github.retrooper.packetevents.protocol.mapper.AbstractMappedEntity
data -
Method Summary
Modifier and TypeMethodDescriptiongetComponents(ClientVersion version) intint@Nullable StateTypeMethods inherited from class com.github.retrooper.packetevents.protocol.mapper.AbstractMappedEntity
equals, getId, getName, getRegistryData, hashCode, isRegistered, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.github.retrooper.packetevents.protocol.item.type.ItemType
getComponents, hasAttribute, isMusicDiscMethods inherited from interface com.github.retrooper.packetevents.protocol.mapper.MappedEntity
getId, getName, isRegistered
-
Method Details
-
getMaxAmount
public int getMaxAmount()- Specified by:
getMaxAmountin interfaceItemType
-
getMaxDurability
public int getMaxDurability()- Specified by:
getMaxDurabilityin interfaceItemType
-
getCraftRemainder
- Specified by:
getCraftRemainderin interfaceItemType
-
getPlacedType
- Specified by:
getPlacedTypein interfaceItemType
-
getAttributes
- Specified by:
getAttributesin interfaceItemType
-
getComponents
- Specified by:
getComponentsin interfaceItemType
-