public class EndGatewayTileEntity extends EndPortalTileEntity implements ITickableTileEntity
pos, removed, worldINFINITE_EXTENT_AABB| コンストラクタと説明 |
|---|
EndGatewayTileEntity() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
float |
getCooldownPercent(float partialTicks) |
double |
getMaxRenderDistanceSquared() |
int |
getParticleAmount() |
float |
getSpawnPercent(float partialTicks) |
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 |
isCoolingDown() |
boolean |
isSpawning() |
void |
read(CompoundNBT compound) |
boolean |
receiveClientEvent(int id,
int type)
|
void |
setExitPortal(BlockPos exitPortalIn,
boolean p_195489_2_) |
boolean |
shouldRenderFace(Direction face) |
void |
teleportEntity(Entity entityIn) |
void |
tick() |
void |
triggerCooldown() |
CompoundNBT |
write(CompoundNBT compound) |
addInfoToCrashReport, create, getBlockState, getDistanceSq, getPos, getTileData, getType, getWorld, hasWorld, isRemoved, markDirty, mirror, onlyOpsCanSetNbt, 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 CompoundNBT write(CompoundNBT compound)
write クラス内 TileEntitypublic void read(CompoundNBT compound)
read クラス内 TileEntitypublic double getMaxRenderDistanceSquared()
getMaxRenderDistanceSquared クラス内 TileEntitypublic void tick()
tick インタフェース内 ITickableTileEntitypublic boolean isSpawning()
public boolean isCoolingDown()
public float getSpawnPercent(float partialTicks)
public float getCooldownPercent(float partialTicks)
@Nullable public SUpdateTileEntityPacket getUpdatePacket()
IForgeTileEntity.onDataPacket(net.minecraft.network.NetworkManager, net.minecraft.network.play.server.SUpdateTileEntityPacket)getUpdatePacket クラス内 TileEntitypublic CompoundNBT getUpdateTag()
handleUpdateTaggetUpdateTag クラス内 TileEntitypublic void triggerCooldown()
public boolean receiveClientEvent(int id,
int type)
Block.eventReceived(net.minecraft.block.BlockState, net.minecraft.world.World, net.minecraft.util.math.BlockPos, int, int) for more information. This must return true serverside before it is called
clientside.receiveClientEvent クラス内 TileEntitypublic void teleportEntity(Entity entityIn)
public boolean shouldRenderFace(Direction face)
shouldRenderFace クラス内 EndPortalTileEntitypublic int getParticleAmount()
public void setExitPortal(BlockPos exitPortalIn, boolean p_195489_2_)