public class BeaconTileEntity extends TileEntity implements INamedContainerProvider, ITickableTileEntity
| 修飾子とタイプ | クラスと説明 |
|---|---|
static class |
BeaconTileEntity.BeamSegment |
| 修飾子とタイプ | フィールドと説明 |
|---|---|
static Effect[][] |
EFFECTS_LIST
List of effects that Beacons can apply
|
pos, removed, worldINFINITE_EXTENT_AABB| コンストラクタと説明 |
|---|
BeaconTileEntity() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
Container |
createMenu(int p_createMenu_1_,
PlayerInventory p_createMenu_2_,
PlayerEntity p_createMenu_3_) |
java.util.List<BeaconTileEntity.BeamSegment> |
getBeamSegments() |
ITextComponent |
getDisplayName() |
int |
getLevels() |
double |
getMaxRenderDistanceSquared() |
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 |
playSound(SoundEvent p_205736_1_) |
void |
read(CompoundNBT compound) |
void |
remove()
invalidates a tile entity
|
void |
setCustomName(ITextComponent aname)
Sets the custom name for this beacon.
|
void |
tick() |
CompoundNBT |
write(CompoundNBT compound) |
addInfoToCrashReport, create, getBlockState, getDistanceSq, getPos, getTileData, getType, getWorld, hasWorld, isRemoved, markDirty, mirror, onlyOpsCanSetNbt, receiveClientEvent, rotate, setPos, setWorldAndPos, updateContainingBlockInfo, validate, warnInvalidBlockareCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCapsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanRenderBreaking, deserializeNBT, getModelData, getRenderBoundingBox, getTileEntity, handleUpdateTag, hasFastRenderer, onChunkUnloaded, onDataPacket, onLoad, requestModelDataUpdate, serializeNBTgetCapability, getCapabilitypublic static final Effect[][] EFFECTS_LIST
public void tick()
tick インタフェース内 ITickableTileEntitypublic void remove()
remove クラス内 TileEntitypublic void playSound(SoundEvent p_205736_1_)
public java.util.List<BeaconTileEntity.BeamSegment> getBeamSegments()
public int getLevels()
@Nullable public SUpdateTileEntityPacket getUpdatePacket()
IForgeTileEntity.onDataPacket(net.minecraft.network.NetworkManager, net.minecraft.network.play.server.SUpdateTileEntityPacket)getUpdatePacket クラス内 TileEntitypublic CompoundNBT getUpdateTag()
handleUpdateTaggetUpdateTag クラス内 TileEntitypublic double getMaxRenderDistanceSquared()
getMaxRenderDistanceSquared クラス内 TileEntitypublic void read(CompoundNBT compound)
read クラス内 TileEntitypublic CompoundNBT write(CompoundNBT compound)
write クラス内 TileEntitypublic void setCustomName(@Nullable
ITextComponent aname)
@Nullable public Container createMenu(int p_createMenu_1_, PlayerInventory p_createMenu_2_, PlayerEntity p_createMenu_3_)
createMenu インタフェース内 IContainerProviderpublic ITextComponent getDisplayName()
getDisplayName インタフェース内 INamedContainerProvider