public class BellTileEntity extends TileEntity implements ITickableTileEntity
Modifier and Type | Field and Description |
---|---|
private java.util.List<LivingEntity> |
entitiesAtRing |
boolean |
isRinging |
private int |
revealWarmup |
Direction |
ringDirection |
int |
ringingTicks |
private long |
ringTime |
private boolean |
shouldReveal |
pos, removed, world
INFINITE_EXTENT_AABB
Constructor and Description |
---|
BellTileEntity() |
Modifier and Type | Method and Description |
---|---|
private void |
addRaiderParticles(World p_222826_1_) |
private void |
func_213941_c() |
private void |
glow(LivingEntity p_222827_1_) |
private void |
glowRaiders(World p_222828_1_) |
private boolean |
hasRaidersNearby() |
private boolean |
isNearbyRaider(LivingEntity p_222832_1_) |
boolean |
receiveClientEvent(int id,
int type) |
private void |
resonate() |
void |
ring(Direction p_213939_1_) |
void |
tick() |
addInfoToCrashReport, create, getBlockState, getDistanceSq, getMaxRenderDistanceSquared, getPos, getTileData, getType, getUpdatePacket, getUpdateTag, getWorld, hasWorld, isRemoved, markDirty, mirror, onlyOpsCanSetNbt, read, remove, rotate, setPos, setWorldAndPos, updateContainingBlockInfo, validate, warnInvalidBlock, write
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
private long ringTime
public int ringingTicks
public boolean isRinging
public Direction ringDirection
private java.util.List<LivingEntity> entitiesAtRing
private boolean shouldReveal
private int revealWarmup
public boolean receiveClientEvent(int id, int type)
receiveClientEvent
in class TileEntity
public void tick()
tick
in interface ITickableTileEntity
private void resonate()
public void ring(Direction p_213939_1_)
private void func_213941_c()
private boolean hasRaidersNearby()
private void glowRaiders(World p_222828_1_)
private void addRaiderParticles(World p_222826_1_)
private boolean isNearbyRaider(LivingEntity p_222832_1_)
private void glow(LivingEntity p_222827_1_)