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, worldINFINITE_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, writeareCapsCompatible, 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, getCapabilityprivate 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 TileEntitypublic void tick()
tick in interface ITickableTileEntityprivate 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_)