public class BellBlockEntity extends BlockEntity implements Tickable
| Modifier and Type | Field and Description |
|---|---|
private int |
field_19158 |
private List<LivingEntity> |
hearingEntities |
private long |
lastRingTime |
Direction |
lastSideHit |
private boolean |
resonating |
boolean |
ringing |
int |
ringTicks |
pos, removed, world| Constructor and Description |
|---|
BellBlockEntity() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate(Direction direction) |
private void |
applyGlowToRaiders(World world) |
private void |
applyParticlesToRaiders(World world) |
private void |
glowEntity(LivingEntity entity) |
private boolean |
isRaiderEntity(LivingEntity entity) |
private boolean |
method_20523() |
private void |
notifyMemoriesOfBell() |
boolean |
onSyncedBlockEvent(int type,
int data) |
private void |
playResonateSound() |
void |
tick() |
applyMirror, applyRotation, cancelRemoval, copyItemDataRequiresOperator, createFromTag, fromTag, getCachedState, getPos, getSquaredRenderDistance, getType, getWorld, hasWorld, isRemoved, markDirty, markInvalid, markRemoved, populateCrashReport, resetBlock, setLocation, setPos, toInitialChunkDataTag, toTag, toUpdatePacketprivate long lastRingTime
public int ringTicks
public boolean ringing
public Direction lastSideHit
private List<LivingEntity> hearingEntities
private boolean resonating
private int field_19158
public boolean onSyncedBlockEvent(int type,
int data)
onSyncedBlockEvent in class BlockEntityprivate void playResonateSound()
public void activate(Direction direction)
private void notifyMemoriesOfBell()
private boolean method_20523()
private void applyGlowToRaiders(World world)
private void applyParticlesToRaiders(World world)
private boolean isRaiderEntity(LivingEntity entity)
private void glowEntity(LivingEntity entity)