public class BannerTileEntity extends TileEntity implements INameable
pos, removed, worldINFINITE_EXTENT_AABB| コンストラクタと説明 |
|---|
BannerTileEntity() |
BannerTileEntity(DyeColor p_i47731_1_) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
func_213136_a(ITextComponent p_213136_1_) |
static java.util.List<com.mojang.datafixers.util.Pair<BannerPattern,DyeColor>> |
func_230138_a_(DyeColor p_230138_0_,
ListNBT p_230138_1_) |
static ListNBT |
func_230139_a_(ItemStack p_230139_0_) |
DyeColor |
getBaseColor(java.util.function.Supplier<BlockState> p_195533_1_) |
ITextComponent |
getCustomName() |
ItemStack |
getItem(BlockState p_190615_1_) |
ITextComponent |
getName() |
java.util.List<com.mojang.datafixers.util.Pair<BannerPattern,DyeColor>> |
getPatternList()
Retrieves the list of patterns for this tile entity.
|
static int |
getPatterns(ItemStack stack)
Retrieves the amount of patterns stored on an ItemStack.
|
SUpdateTileEntityPacket |
getUpdatePacket()
Retrieves packet to send to the client whenever this Tile Entity is resynced via World.notifyBlockUpdate.
|
CompoundNBT |
getUpdateTag()
Get an NBT compound to sync to the client with SPacketChunkData, used for initial loading of the chunk or when
many blocks change at once.
|
void |
loadFromItemStack(ItemStack p_195534_1_,
DyeColor p_195534_2_) |
void |
read(CompoundNBT compound) |
static void |
removeBannerData(ItemStack stack)
Removes all the banner related data from a provided instance of ItemStack.
|
CompoundNBT |
write(CompoundNBT compound) |
addInfoToCrashReport, create, getBlockState, getDistanceSq, getMaxRenderDistanceSquared, getPos, getTileData, getType, getWorld, hasWorld, isRemoved, markDirty, mirror, onlyOpsCanSetNbt, receiveClientEvent, remove, rotate, setPos, setWorldAndPos, updateContainingBlockInfo, validate, warnInvalidBlockareCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCapsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDisplayName, hasCustomNamecanRenderBreaking, deserializeNBT, getModelData, getRenderBoundingBox, getTileEntity, handleUpdateTag, hasFastRenderer, onChunkUnloaded, onDataPacket, onLoad, requestModelDataUpdate, serializeNBTgetCapability, getCapabilitypublic BannerTileEntity()
public BannerTileEntity(DyeColor p_i47731_1_)
public ITextComponent getName()
@Nullable public ITextComponent getCustomName()
getCustomName インタフェース内 INameablepublic void func_213136_a(ITextComponent p_213136_1_)
public CompoundNBT write(CompoundNBT compound)
write クラス内 TileEntitypublic void read(CompoundNBT compound)
read クラス内 TileEntity@Nullable public SUpdateTileEntityPacket getUpdatePacket()
IForgeTileEntity.onDataPacket(net.minecraft.network.NetworkManager, net.minecraft.network.play.server.SUpdateTileEntityPacket)getUpdatePacket クラス内 TileEntitypublic CompoundNBT getUpdateTag()
handleUpdateTaggetUpdateTag クラス内 TileEntitypublic static int getPatterns(ItemStack stack)
public java.util.List<com.mojang.datafixers.util.Pair<BannerPattern,DyeColor>> getPatternList()
public static java.util.List<com.mojang.datafixers.util.Pair<BannerPattern,DyeColor>> func_230138_a_(DyeColor p_230138_0_, @Nullable ListNBT p_230138_1_)
public static void removeBannerData(ItemStack stack)
public ItemStack getItem(BlockState p_190615_1_)
public DyeColor getBaseColor(java.util.function.Supplier<BlockState> p_195533_1_)