public interface ItemType
| Modifier and Type | Method and Description |
|---|---|
default ItemStack |
createItem() |
ItemStack |
createItem(int amount,
Object... metadata) |
default int |
getArmorPoints() |
default int |
getAttackDamage() |
BlockType |
getBlock() |
default BlockType |
getBlockType() |
default int |
getDurability() |
default short |
getFuelTime() |
Identifier |
getId() |
int |
getMaximumStackSize() |
Class<?> |
getMetadataClass() |
TierType |
getTierType() |
ToolType |
getToolType() |
default int |
getToughness() |
boolean |
isBlock() |
boolean |
isPlaceable() |
default boolean |
isStackable() |
Identifier getId()
boolean isBlock()
boolean isPlaceable()
int getMaximumStackSize()
default ItemStack createItem()
default int getAttackDamage()
default int getArmorPoints()
default int getToughness()
default int getDurability()
default short getFuelTime()
default BlockType getBlockType()
default boolean isStackable()
Copyright © 2021. All rights reserved.