| Constructor and Description |
|---|
BlockItem(BlockState blockState) |
| Modifier and Type | Method and Description |
|---|---|
BlockState |
getBlock() |
int |
getMaxStackSize() |
protected void |
onMetaChange(int newMeta) |
void |
setMeta(int meta) |
addCreativeItem, addEnchantment, addTag, canBeActivated, canBePlaced, canDestroy, canPlaceOn, clearCreativeItems, clearCustomName, clone, createTag, decrementCount, decrementCount, deepEquals, deepEquals, deepEquals, equals, equals, equals, equalsExact, fromJson, fromNetwork, fromString, fromStringMultiple, get, get, get, get, get, get, get, get, get, get, getArmorPoints, getAttackDamage, getCount, getCreativeItem, getCreativeItemIndex, getCreativeItems, getCustomName, getDestroySpeed, getEnchantAbility, getEnchantment, getEnchantment, getEnchantments, getFuelTime, getId, getLore, getMaxDurability, getMeta, getName, getNetworkId, getTag, getTier, getToughness, hasCustomName, hasEnchantments, hasMeta, hasNbtMap, incrementCount, incrementCount, initCreativeItems, isArmor, isAxe, isBoots, isChestplate, isCreativeItem, isHelmet, isHoe, isLeggings, isNull, isPickaxe, isShears, isShovel, isSword, isTool, isUnbreakable, loadAdditionalData, onActivate, onClickAir, onRelease, onUse, removeCreativeItem, saveAdditionalData, setCount, setCustomName, setLore, setLore, setTag, toNetwork, toNetwork, toNetwork, toString, useOn, useOnpublic BlockItem(BlockState blockState)
public BlockState getBlock()
public int getMaxStackSize()
getMaxStackSize in class Itemprotected void onMetaChange(int newMeta)
onMetaChange in class ItemCopyright © 2020. All rights reserved.