public class StructureBlockTileEntity extends TileEntity
Modifier and Type | Class and Description |
---|---|
static class |
StructureBlockTileEntity.UpdateCommand |
pos, removed, world
INFINITE_EXTENT_AABB
Constructor and Description |
---|
StructureBlockTileEntity() |
Modifier and Type | Method and Description |
---|---|
void |
createdBy(LivingEntity p_189720_1_) |
boolean |
detectSize() |
float |
getIntegrity() |
java.lang.String |
getMetadata() |
Mirror |
getMirror() |
StructureMode |
getMode() |
java.lang.String |
getName() |
BlockPos |
getPosition() |
Rotation |
getRotation() |
long |
getSeed() |
BlockPos |
getStructureSize() |
SUpdateTileEntityPacket |
getUpdatePacket() |
CompoundNBT |
getUpdateTag() |
boolean |
hasName() |
boolean |
ignoresEntities() |
boolean |
isPowered() |
boolean |
isStructureLoadable() |
boolean |
load() |
boolean |
load(boolean requireMatchingSize) |
void |
nextMode() |
void |
read(CompoundNBT compound) |
boolean |
save() |
boolean |
save(boolean writeToDisk) |
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, setWorld, 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
in class TileEntity
public void read(CompoundNBT compound)
read
in class TileEntity
@Nullable public SUpdateTileEntityPacket getUpdatePacket()
getUpdatePacket
in class TileEntity
public CompoundNBT getUpdateTag()
getUpdateTag
in class TileEntity
public boolean usedBy(PlayerEntity player)
public java.lang.String getName()
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 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)