public class MobSpawnerTileEntity extends TileEntity implements ITickableTileEntity
pos, removed, worldINFINITE_EXTENT_AABB| コンストラクタと説明 |
|---|
MobSpawnerTileEntity() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
AbstractSpawner |
getSpawnerBaseLogic() |
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.
|
boolean |
onlyOpsCanSetNbt()
Checks if players can use this tile entity to access operator (permission level 2) commands either directly or
indirectly, such as give or setblock.
|
void |
read(CompoundNBT compound) |
boolean |
receiveClientEvent(int id,
int type)
See
Block#eventReceived for more information. |
void |
tick() |
CompoundNBT |
write(CompoundNBT compound) |
addInfoToCrashReport, create, getBlockState, getDistanceSq, getMaxRenderDistanceSquared, getPos, getTileData, getType, getWorld, hasWorld, isRemoved, markDirty, mirror, 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, waitcanRenderBreaking, deserializeNBT, getModelData, getRenderBoundingBox, getTileEntity, handleUpdateTag, hasFastRenderer, onChunkUnloaded, onDataPacket, onLoad, requestModelDataUpdate, serializeNBTgetCapability, getCapabilitypublic void read(CompoundNBT compound)
read クラス内 TileEntitypublic CompoundNBT write(CompoundNBT compound)
write クラス内 TileEntitypublic void tick()
tick インタフェース内 ITickableTileEntity@Nullable public SUpdateTileEntityPacket getUpdatePacket()
IForgeTileEntity.onDataPacket(net.minecraft.network.NetworkManager, net.minecraft.network.play.server.SUpdateTileEntityPacket)getUpdatePacket クラス内 TileEntitypublic CompoundNBT getUpdateTag()
handleUpdateTaggetUpdateTag クラス内 TileEntitypublic boolean receiveClientEvent(int id,
int type)
Block#eventReceived for more information. This must return true serverside before it is called
clientside.receiveClientEvent クラス内 TileEntitypublic boolean onlyOpsCanSetNbt()
Entity.ignoreItemEntityData().For example, signs (player right-clicking) and command blocks are considered
accessible.
onlyOpsCanSetNbt クラス内 TileEntitypublic AbstractSpawner getSpawnerBaseLogic()