public class BeaconTileEntity extends TileEntity implements INamedContainerProvider, ITickableTileEntity
Modifier and Type | Class and Description |
---|---|
static class |
BeaconTileEntity.BeamSegment |
Modifier and Type | Field and Description |
---|---|
static Effect[][] |
EFFECTS_LIST |
pos, removed, world
INFINITE_EXTENT_AABB
Constructor and Description |
---|
BeaconTileEntity() |
Modifier and Type | Method and Description |
---|---|
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() |
CompoundNBT |
getUpdateTag() |
void |
playSound(SoundEvent p_205736_1_) |
void |
read(CompoundNBT compound) |
void |
remove() |
void |
setCustomName(ITextComponent aname) |
void |
tick() |
CompoundNBT |
write(CompoundNBT compound) |
addInfoToCrashReport, create, getBlockState, getDistanceSq, getPos, getTileData, getType, getWorld, hasWorld, isRemoved, markDirty, mirror, onlyOpsCanSetNbt, receiveClientEvent, 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 static final Effect[][] EFFECTS_LIST
public void tick()
tick
in interface ITickableTileEntity
public void remove()
remove
in class TileEntity
public void playSound(SoundEvent p_205736_1_)
public java.util.List<BeaconTileEntity.BeamSegment> getBeamSegments()
public int getLevels()
@Nullable public SUpdateTileEntityPacket getUpdatePacket()
getUpdatePacket
in class TileEntity
public CompoundNBT getUpdateTag()
getUpdateTag
in class TileEntity
public double getMaxRenderDistanceSquared()
getMaxRenderDistanceSquared
in class TileEntity
public void read(CompoundNBT compound)
read
in class TileEntity
public CompoundNBT write(CompoundNBT compound)
write
in class TileEntity
public void setCustomName(@Nullable ITextComponent aname)
@Nullable public Container createMenu(int p_createMenu_1_, PlayerInventory p_createMenu_2_, PlayerEntity p_createMenu_3_)
createMenu
in interface IContainerProvider
public ITextComponent getDisplayName()
getDisplayName
in interface INamedContainerProvider