public class BannerTileEntity extends TileEntity implements INameable
pos, removed, world
INFINITE_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, warnInvalidBlock
areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCaps
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDisplayName, hasCustomName
canRenderBreaking, deserializeNBT, getModelData, getRenderBoundingBox, getTileEntity, handleUpdateTag, hasFastRenderer, onChunkUnloaded, onDataPacket, onLoad, requestModelDataUpdate, serializeNBT
getCapability, getCapability
public BannerTileEntity()
public BannerTileEntity(DyeColor p_i47731_1_)
public ITextComponent getName()
@Nullable public ITextComponent getCustomName()
getCustomName
インタフェース内 INameable
public void func_213136_a(ITextComponent p_213136_1_)
public CompoundNBT write(CompoundNBT compound)
write
クラス内 TileEntity
public void read(CompoundNBT compound)
read
クラス内 TileEntity
@Nullable public SUpdateTileEntityPacket getUpdatePacket()
IForgeTileEntity.onDataPacket(net.minecraft.network.NetworkManager, net.minecraft.network.play.server.SUpdateTileEntityPacket)
getUpdatePacket
クラス内 TileEntity
public CompoundNBT getUpdateTag()
handleUpdateTag
getUpdateTag
クラス内 TileEntity
public 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_)