public class BellBlockEntity extends BlockEntity
| Modifier and Type | Class and Description |
|---|---|
(package private) static interface |
BellBlockEntity.class_5557 |
| Modifier and Type | Field and Description |
|---|---|
private List<LivingEntity> |
hearingEntities |
private long |
lastRingTime |
Direction |
lastSideHit |
private int |
resonateTime |
private boolean |
resonating |
boolean |
ringing |
int |
ringTicks |
pos, removed, world| Constructor and Description |
|---|
BellBlockEntity(BlockPos blockPos,
BlockState blockState) |
| Modifier and Type | Method and Description |
|---|---|
void |
activate(Direction direction) |
private static void |
applyGlowToEntity(LivingEntity livingEntity) |
private static void |
applyGlowToRaiders(World world,
BlockPos blockPos,
List<LivingEntity> list) |
private static void |
applyParticlesToRaiders(World world,
BlockPos blockPos,
List<LivingEntity> list) |
private static boolean |
isRaiderEntity(BlockPos blockPos,
LivingEntity entity) |
static void |
method_31657(World world,
BlockPos blockPos,
BlockState blockState,
BellBlockEntity bellBlockEntity) |
private static void |
method_31658(World world,
BlockPos blockPos,
BlockState blockState,
BellBlockEntity bellBlockEntity,
BellBlockEntity.class_5557 class_5557) |
static void |
method_31659(World world,
BlockPos blockPos,
BlockState blockState,
BellBlockEntity bellBlockEntity) |
private void |
notifyMemoriesOfBell() |
boolean |
onSyncedBlockEvent(int type,
int data) |
private static boolean |
raidersHearBell(BlockPos blockPos,
List<LivingEntity> list) |
cancelRemoval, copyItemDataRequiresOperator, createFromTag, fromTag, getCachedState, getPos, getSquaredRenderDistance, getType, getWorld, hasWorld, isRemoved, markDirty, markRemoved, method_31662, method_31663, method_31664, populateCrashReport, toInitialChunkDataTag, toTag, toUpdatePacketprivate long lastRingTime
public int ringTicks
public boolean ringing
public Direction lastSideHit
private List<LivingEntity> hearingEntities
private boolean resonating
private int resonateTime
public BellBlockEntity(BlockPos blockPos, BlockState blockState)
public boolean onSyncedBlockEvent(int type,
int data)
onSyncedBlockEvent in class BlockEntityprivate static void method_31658(World world, BlockPos blockPos, BlockState blockState, BellBlockEntity bellBlockEntity, BellBlockEntity.class_5557 class_5557)
public static void method_31657(World world, BlockPos blockPos, BlockState blockState, BellBlockEntity bellBlockEntity)
public static void method_31659(World world, BlockPos blockPos, BlockState blockState, BellBlockEntity bellBlockEntity)
public void activate(Direction direction)
private void notifyMemoriesOfBell()
private static boolean raidersHearBell(BlockPos blockPos, List<LivingEntity> list)
private static void applyGlowToRaiders(World world, BlockPos blockPos, List<LivingEntity> list)
private static void applyParticlesToRaiders(World world, BlockPos blockPos, List<LivingEntity> list)
private static boolean isRaiderEntity(BlockPos blockPos, LivingEntity entity)
private static void applyGlowToEntity(LivingEntity livingEntity)