public class StructureBlockTileEntity extends TileEntity
修飾子とタイプ | クラスと説明 |
---|---|
static class |
StructureBlockTileEntity.UpdateCommand |
pos, removed, world
INFINITE_EXTENT_AABB
コンストラクタと説明 |
---|
StructureBlockTileEntity() |
修飾子とタイプ | メソッドと説明 |
---|---|
void |
createdBy(LivingEntity p_189720_1_) |
boolean |
detectSize() |
java.lang.String |
func_227014_f_() |
float |
getIntegrity() |
java.lang.String |
getMetadata() |
Mirror |
getMirror() |
StructureMode |
getMode() |
java.lang.String |
getName() |
BlockPos |
getPosition() |
Rotation |
getRotation() |
long |
getSeed() |
BlockPos |
getStructureSize() |
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 |
hasName() |
boolean |
ignoresEntities() |
boolean |
isPowered() |
boolean |
isStructureLoadable() |
boolean |
load()
Loads the given template, both into this structure block and into the world, aborting if the size of the template
does not match the size in this structure block.
|
boolean |
load(boolean requireMatchingSize)
Loads the given template, both into this structure block and into the world.
|
boolean |
load(boolean requireMatchingSize,
Template templateIn) |
void |
nextMode() |
void |
read(CompoundNBT compound) |
boolean |
save()
Saves the template, writing it to disk.
|
boolean |
save(boolean writeToDisk)
Saves the template, either updating the local version or writing it to disk.
|
void |
setIgnoresEntities(boolean ignoreEntitiesIn) |
void |
setIntegrity(float integrityIn) |
void |
setMetadata(java.lang.String metadataIn) |
void |
setMirror(Mirror mirrorIn) |
void |
setMode(StructureMode modeIn) |
void |
setName(ResourceLocation p_210163_1_) |
void |
setName(java.lang.String nameIn) |
void |
setPosition(BlockPos posIn) |
void |
setPowered(boolean poweredIn) |
void |
setRotation(Rotation rotationIn) |
void |
setSeed(long seedIn) |
void |
setShowAir(boolean showAirIn) |
void |
setShowBoundingBox(boolean showBoundingBoxIn) |
void |
setSize(BlockPos sizeIn) |
boolean |
showsAir() |
boolean |
showsBoundingBox() |
void |
unloadStructure() |
boolean |
usedBy(PlayerEntity player) |
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
canRenderBreaking, deserializeNBT, getModelData, getRenderBoundingBox, getTileEntity, handleUpdateTag, hasFastRenderer, onChunkUnloaded, onDataPacket, onLoad, requestModelDataUpdate, serializeNBT
getCapability, getCapability
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 boolean usedBy(PlayerEntity player)
public java.lang.String getName()
public java.lang.String func_227014_f_()
public boolean hasName()
public void setName(@Nullable java.lang.String nameIn)
public void setName(@Nullable ResourceLocation p_210163_1_)
public void createdBy(LivingEntity p_189720_1_)
public BlockPos getPosition()
public void setPosition(BlockPos posIn)
public BlockPos getStructureSize()
public void setSize(BlockPos sizeIn)
public Mirror getMirror()
public void setMirror(Mirror mirrorIn)
public Rotation getRotation()
public void setRotation(Rotation rotationIn)
public java.lang.String getMetadata()
public void setMetadata(java.lang.String metadataIn)
public StructureMode getMode()
public void setMode(StructureMode modeIn)
public void nextMode()
public boolean ignoresEntities()
public void setIgnoresEntities(boolean ignoreEntitiesIn)
public float getIntegrity()
public void setIntegrity(float integrityIn)
public long getSeed()
public void setSeed(long seedIn)
public boolean detectSize()
public boolean save()
public boolean save(boolean writeToDisk)
public boolean load()
public boolean load(boolean requireMatchingSize)
public boolean load(boolean requireMatchingSize, Template templateIn)
public void unloadStructure()
public boolean isStructureLoadable()
public boolean isPowered()
public void setPowered(boolean poweredIn)
public boolean showsAir()
public void setShowAir(boolean showAirIn)
public boolean showsBoundingBox()
public void setShowBoundingBox(boolean showBoundingBoxIn)