net.minecraft.block.entity

public class SculkShriekerBlockEntity

extends BlockEntity implements GameEventListener$Holder<Vibrations$VibrationListener>, Vibrations

All mapped superinterfaces:

DebugTrackable, GameEventListener$Holder, Vibrations

net.minecraft.world.level.block.entity.SculkShriekerBlockEntity
net.minecraft.class_7133
net.minecraft.block.entity.SculkShriekerBlockEntity

Field summary

Modifier and TypeField
private static final int
WARNING_SOUND_RADIUS
field_38750
field_38750
private static final int
WARDEN_SPAWN_ATTEMPTS
field_38751
WARDEN_SPAWN_TRIES
private static final int
WARDEN_SPAWN_RANGE_XZ
field_38752
WARDEN_SPAWN_HORIZONTAL_RANGE
private static final int
WARDEN_SPAWN_RANGE_Y
field_38753
WARDEN_SPAWN_VERTICAL_RANGE
private static final int
DARKNESS_RADIUS
field_38754
DARKNESS_RANGE
private static final int
SHRIEKING_TICKS
field_38756
SHRIEK_DELAY
private static final it.unimi.dsi.fastutil.ints.Int2ObjectMap<SoundEvent>
SOUND_BY_LEVEL
field_38755
WARNING_SOUNDS
private static final int
DEFAULT_WARNING_LEVEL
field_57785
DEFAULT_WARNING_LEVEL
private int
warningLevel
field_38757
warningLevel
private final Vibrations$Callback
vibrationUser
field_44619
vibrationCallback
private Vibrations$ListenerData
vibrationData
field_44620
vibrationListenerData
private final Vibrations$VibrationListener
vibrationListener
field_38239
vibrationListener

Constructor summary

ModifierConstructor
public (BlockPos pos, BlockState state)

Method summary

Modifier and TypeMethod
public Vibrations$ListenerData
getVibrationData()
method_51298()
getVibrationListenerData()
public Vibrations$Callback
getVibrationUser()
method_51299()
getVibrationCallback()
protected void
loadAdditional(ValueInput input)
method_11014(class_11368 arg0)
readData(ReadView arg0)
protected void
saveAdditional(ValueOutput output)
method_11007(class_11372 arg0)
writeData(WriteView arg0)
public static ServerPlayerEntity
tryGetPlayer(Entity sourceEntity)
method_44018(class_1297 arg0)
findResponsiblePlayerFromEntity(Entity entity)
public void
tryShriek(ServerLevel level, ServerPlayer player)
method_43141(class_3218 arg0, class_3222 arg1)
shriek(ServerWorld world, ServerPlayerEntity player)
private boolean
tryToWarn(ServerLevel level, ServerPlayer player)
method_43142(class_3218 arg0, class_3222 arg1)
trySyncWarningLevel(ServerWorld world, ServerPlayerEntity player)
private void
shriek(ServerLevel level, Entity sourceEntity)
method_44017(class_3218 arg0, class_1297 arg1)
shriek(ServerWorld world, Entity entity)
private boolean
canRespond(ServerLevel level)
method_43150(class_3218 arg0)
canWarn(ServerWorld world)
public void
preRemoveSideEffects(BlockPos pos, BlockState state)
method_66473(class_2338 arg0, class_2680 arg1)
onBlockReplaced(BlockPos arg0, BlockState arg1)
public void
tryRespond(ServerLevel level)
method_43147(class_3218 arg0)
warn(ServerWorld world)
private void
playWardenReplySound(Level level)
method_43151(class_1937 arg0)
playWarningSound(World world)
private boolean
trySummonWarden(ServerLevel level)
method_43148(class_3218 arg0)
trySpawnWarden(ServerWorld world)
public Vibrations$VibrationListener
getListener()
method_51358()
getEventListener()
public GameEventListener
getListener()
method_51358()
getEventListener()
private void
lambda$tryToWarn$1(int arg0)
method_44016(int arg0)
method_44016(int warningLevel)
private static void
lambda$static$0(it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap arg0)
method_43146(it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap arg0)
method_43146(it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap warningSounds)