| Constructor and Description |
|---|
ItemBanner(Identifier id) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPattern(BannerPattern pattern) |
int |
getBannerType() |
DyeColor |
getBase() |
DyeColor |
getBaseColor() |
BlockState |
getBlock() |
int |
getMaxStackSize() |
BannerPattern |
getPattern(int index) |
com.google.common.collect.ImmutableList<BannerPattern> |
getPatterns() |
int |
getType() |
void |
loadAdditionalData(com.nukkitx.nbt.NbtMap tag) |
protected void |
onMetaChange(int newMeta) |
void |
removePattern(int index) |
void |
saveAdditionalData(com.nukkitx.nbt.NbtMapBuilder tag) |
void |
setBannerType(int type) |
void |
setBase(DyeColor color) |
void |
setBaseColor(DyeColor color) |
void |
setType(int type) |
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, onActivate, onClickAir, onRelease, onUse, removeCreativeItem, setCount, setCustomName, setLore, setLore, setMeta, setTag, toNetwork, toNetwork, toNetwork, toString, useOn, useOnpublic ItemBanner(Identifier id)
public BlockState getBlock()
public int getMaxStackSize()
getMaxStackSize in class Itempublic void loadAdditionalData(com.nukkitx.nbt.NbtMap tag)
loadAdditionalData in class Itempublic void saveAdditionalData(com.nukkitx.nbt.NbtMapBuilder tag)
saveAdditionalData in class Itempublic DyeColor getBaseColor()
public void setBaseColor(DyeColor color)
public int getType()
public void setType(int type)
public DyeColor getBase()
public void setBase(DyeColor color)
public int getBannerType()
public void setBannerType(int type)
public void addPattern(BannerPattern pattern)
public BannerPattern getPattern(int index)
public com.google.common.collect.ImmutableList<BannerPattern> getPatterns()
public void removePattern(int index)
protected void onMetaChange(int newMeta)
onMetaChange in class ItemCopyright © 2020. All rights reserved.