net.minecraft.world.level.block

public class SculkSensorBlock

extends BaseEntityBlock implements SimpleWaterloggedBlock

All mapped superinterfaces:

ItemLike, EntityBlock, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

cfp
net.minecraft.world.level.block.SculkSensorBlock
net.minecraft.class_5703
net.minecraft.block.SculkSensorBlock
net.minecraft.src.C_141226_
net.minecraft.world.level.block.SculkSensorBlock

Field summary

Modifier and TypeField
public static final int
a
ACTIVE_TICKS
field_31239
field_31239
f_154383_
public static final int
b
COOLDOWN_TICKS
field_31240
field_31240
f_154384_
public static final it.unimi.dsi.fastutil.objects.Object2IntMap<GameEvent>
c
VIBRATION_STRENGTH_FOR_EVENT
field_28110
FREQUENCIES
f_154385_
public static final EnumProperty<SculkSensorPhase>
d
PHASE
field_28111
SCULK_SENSOR_PHASE
f_154386_
public static final IntegerProperty
e
POWER
field_28112
POWER
f_154387_
public static final BooleanProperty
f
WATERLOGGED
field_28113
WATERLOGGED
f_154388_
protected static final VoxelShape
g
SHAPE
field_28114
OUTLINE_SHAPE
f_154389_
private final int
h
listenerRange
field_28115
range
f_154390_

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties settings, int range)

Method summary

Modifier and TypeMethod
public int
e()
getListenerRange()
method_32907()
getRange()
m_154482_()
public BlockState
a(bsq arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
getPlacedState(BlockActionContext arg0)
public FluidState
c_(ckt arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
getFluidState(BlockState arg0)
m_5888_(C_2064_ arg0)
public void
a(ckt arg0, abr arg1, gg arg2, Random arg3)
tick(BlockState arg0, ServerLevel arg1, BlockPos arg2, Random arg3)
method_9588(class_2680 arg0, class_3218 arg1, class_2338 arg2, Random arg3)
scheduledTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
m_7458_(C_2064_ p_154423_, C_12_ p_154424_, C_4675_ p_154425_, Random arg3)
tickAlways(IBlockData arg0, WorldServer arg1, BlockPosition arg2, Random arg3)
public void
b(ckt arg0, bwq arg1, gg arg2, ckt arg3, boolean arg4)
onPlace(BlockState arg0, Level arg1, BlockPos arg2, BlockState arg3, boolean arg4)
method_9615(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2680 arg3, boolean arg4)
onBlockAdded(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
m_6807_(C_2064_ p_154472_, C_1596_ p_154473_, C_4675_ p_154474_, C_2064_ p_154475_, boolean arg4)
onPlace(IBlockData arg0, World arg1, BlockPosition arg2, IBlockData arg3, boolean arg4)
public void
a(ckt arg0, bwq arg1, gg arg2, ckt arg3, boolean arg4)
onRemove(BlockState arg0, Level arg1, BlockPos arg2, BlockState arg3, boolean arg4)
method_9536(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2680 arg3, boolean arg4)
onStateReplaced(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
m_6810_(C_2064_ p_154447_, C_1596_ p_154448_, C_4675_ p_154449_, C_2064_ p_154450_, boolean arg4)
remove(IBlockData arg0, World arg1, BlockPosition arg2, IBlockData arg3, boolean arg4)
public BlockState
a(ckt arg0, gl arg1, ckt arg2, bwr arg3, gg arg4, gg arg5)
updateShape(BlockState arg0, Direction arg1, BlockState arg2, LevelAccessor arg3, BlockPos arg4, BlockPos arg5)
method_9559(class_2680 arg0, class_2350 arg1, class_2680 arg2, class_1936 arg3, class_2338 arg4, class_2338 arg5)
getStateForNeighborUpdate(BlockState arg0, Direction arg1, BlockState arg2, WorldAccess arg3, BlockPos arg4, BlockPos arg5)
m_7417_(C_2064_ p_154458_, C_4687_ p_154459_, C_2064_ p_154460_, C_1598_ p_154461_, C_4675_ p_154462_, C_4675_ arg5)
updateState(IBlockData arg0, EnumDirection arg1, IBlockData arg2, GeneratorAccess arg3, BlockPosition arg4, BlockPosition arg5)
private static void
a(bwq arg0, gg arg1)
updateNeighbours(Level arg0, BlockPos arg1)
method_32902(class_1937 arg0, class_2338 arg1)
updateNeighbors(World world, BlockPos pos)
m_154404_(C_1596_ p_154405_, C_4675_ p_154406_)
public BlockEntity
a(gg arg0, ckt arg1)
newBlockEntity(BlockPos arg0, BlockState arg1)
method_10123(class_2338 arg0, class_2680 arg1)
createBlockEntity(BlockPos arg0, BlockState arg1)
m_142194_(C_4675_ p_154467_, C_2064_ arg1)
createTile(BlockPosition arg0, IBlockData arg1)
public <T extends BlockEntity> GameEventListener
a(bwq arg0, T arg1)
getListener(Level arg0, T arg1)
method_32896(class_1937 arg0, T arg1)
getGameEventListener(World arg0, T arg1)
m_142226_(C_1596_ p_154399_, T arg1)
public <T extends BlockEntity> BlockEntityTicker<T>
a(bwq arg0, ckt arg1, cis<T> arg2)
getTicker(Level arg0, BlockState arg1, BlockEntityType<T> arg2)
method_31645(class_1937 arg0, class_2680 arg1, class_2591<T> arg2)
getTicker(World arg0, BlockState arg1, BlockEntityType<T> arg2)
m_142354_(C_1596_ p_154402_, C_2064_ p_154403_, C_1992_<T> arg2)
public RenderShape
b_(ckt arg0)
getRenderShape(BlockState arg0)
method_9604(class_2680 arg0)
getRenderType(BlockState arg0)
m_7514_(C_2064_ arg0)
public VoxelShape
a(ckt arg0, bvu arg1, gg arg2, dnf arg3)
getShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
m_5940_(C_2064_ p_154433_, C_1559_ p_154434_, C_4675_ p_154435_, C_3051_ arg3)
public boolean
f_(ckt arg0)
isSignalSource(BlockState arg0)
method_9506(class_2680 arg0)
emitsRedstonePower(BlockState arg0)
m_7899_(C_2064_ arg0)
isPowerSource(IBlockData arg0)
public int
a(ckt arg0, bvu arg1, gg arg2, gl arg3)
getSignal(BlockState arg0, BlockGetter arg1, BlockPos arg2, Direction arg3)
method_9524(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_2350 arg3)
getWeakRedstonePower(BlockState arg0, BlockView arg1, BlockPos arg2, Direction arg3)
m_6378_(C_2064_ p_154438_, C_1559_ p_154439_, C_4675_ p_154440_, C_4687_ arg3)
public static SculkSensorPhase
h(ckt arg0)
getPhase(BlockState arg0)
method_32908(class_2680 arg0)
getPhase(BlockState state)
m_154487_(C_2064_ p_154488_)
public static boolean
n(ckt arg0)
canActivate(BlockState arg0)
method_32909(class_2680 arg0)
isInactive(BlockState state)
m_154489_(C_2064_ p_154490_)
public static void
a(bwq arg0, gg arg1, ckt arg2)
deactivate(Level arg0, BlockPos arg1, BlockState arg2)
method_32903(class_1937 arg0, class_2338 arg1, class_2680 arg2)
setCooldown(World world, BlockPos pos, BlockState state)
m_154407_(C_1596_ p_154408_, C_4675_ p_154409_, C_2064_ p_154410_)
public static void
a(bwq arg0, gg arg1, ckt arg2, int arg3)
activate(Level arg0, BlockPos arg1, BlockState arg2, int arg3)
method_32904(class_1937 arg0, class_2338 arg1, class_2680 arg2, int arg3)
setActive(World world, BlockPos pos, BlockState state, int power)
m_154411_(C_1596_ p_154412_, C_4675_ p_154413_, C_2064_ p_154414_, int p_154415_)
public void
a(ckt arg0, bwq arg1, gg arg2, Random arg3)
animateTick(BlockState arg0, Level arg1, BlockPos arg2, Random arg3)
method_9496(class_2680 arg0, class_1937 arg1, class_2338 arg2, Random arg3)
randomDisplayTick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
m_7100_(C_2064_ p_154453_, C_1596_ p_154454_, C_4675_ p_154455_, Random arg3)
protected void
a(cku$a<bzp, ckt> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
m_7926_(C_2065_$C_2066_<C_1706_, C_2064_> arg0)
public boolean
d_(ckt arg0)
hasAnalogOutputSignal(BlockState arg0)
method_9498(class_2680 arg0)
hasComparatorOutput(BlockState arg0)
m_7278_(C_2064_ arg0)
isComplexRedstone(IBlockData arg0)
public int
a(ckt arg0, bwq arg1, gg arg2)
getAnalogOutputSignal(BlockState arg0, Level arg1, BlockPos arg2)
method_9572(class_2680 arg0, class_1937 arg1, class_2338 arg2)
getComparatorOutput(BlockState arg0, World arg1, BlockPos arg2)
m_6782_(C_2064_ p_154443_, C_1596_ p_154444_, C_4675_ arg2)
public boolean
a(ckt arg0, bvu arg1, gg arg2, dhb arg3)
isPathfindable(BlockState arg0, BlockGetter arg1, BlockPos arg2, PathComputationType arg3)
method_9516(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_10 arg3)
canPathfindThrough(BlockState arg0, BlockView arg1, BlockPos arg2, NavigationType arg3)
m_7357_(C_2064_ p_154428_, C_1559_ p_154429_, C_4675_ p_154430_, C_2754_ arg3)
public boolean
g_(ckt arg0)
useShapeForLightOcclusion(BlockState arg0)
method_9526(class_2680 arg0)
hasSidedTransparency(BlockState arg0)
m_7923_(C_2064_ arg0)