net.minecraft.world.level.block

public class SculkSensorBlock

extends BaseEntityBlock implements SimpleWaterloggedBlock

All mapped superinterfaces:

FeatureElement, ItemLike, EntityBlock, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

dri
net.minecraft.world.level.block.SculkSensorBlock
net.minecraft.class_5703
net.minecraft.unmapped.C_ecaydczd
net.minecraft.block.SculkSensorBlock
net.minecraft.block.sculk.SculkSensorBlock
net.minecraft.src.C_141226_
net.minecraft.world.level.block.SculkSensorBlock

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<SculkSensorBlock>
c
CODEC
field_46435
f_igwixyjn
CODEC
CODEC
f_302991_
public static final int
d
ACTIVE_TICKS
field_31239
f_wijhacpz
field_31239
ACTIVE_TICKS
f_154383_
public static final int
e
COOLDOWN_TICKS
field_44607
f_mggvdtmp
field_44607
COOLDOWN_TICKS
f_154384_
public static final EnumProperty<SculkSensorPhase>
f
PHASE
field_28111
f_mdopchsr
SCULK_SENSOR_PHASE
SCULK_SENSOR_PHASE
f_154386_
public static final IntegerProperty
g
POWER
field_28112
f_mtfchzbf
POWER
POWER
f_154387_
public static final BooleanProperty
h
WATERLOGGED
field_28113
f_ouwkjcpk
WATERLOGGED
WATERLOGGED
f_154388_
protected static final VoxelShape
i
SHAPE
field_28114
f_ctnilncr
OUTLINE_SHAPE
OUTLINE_SHAPE
f_154389_
private static final float[]
a
RESONANCE_PITCH_BEND
field_43248
f_cvdnduhl
RESONATION_NOTE_PITCHES
RESONATION_NOTE_PITCHES
f_276565_

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties settings)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<? extends SculkSensorBlock>
a()
codec()
method_53969()
m_wrnxumjr()
getCodec()
getCodec()
m_304657_()
public BlockState
a(dbg arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
m_iwedynhy(C_aiootljq arg0)
getPlacementState(ItemPlacementContext arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
protected FluidState
b_(dxv arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
m_nlstkjhl(C_txtbiemp arg0)
getFluidState(BlockState arg0)
getFluidState(BlockState arg0)
m_5888_(C_2064_ arg0)
protected void
a(dxv arg0, ash arg1, jh arg2, bam arg3)
tick(BlockState arg0, ServerLevel arg1, BlockPos arg2, RandomSource arg3)
method_9588(class_2680 arg0, class_3218 arg1, class_2338 arg2, class_5819 arg3)
m_bneobcwj(C_txtbiemp arg0, C_bdwnwhiu arg1, C_hynzadkk arg2, C_rlomrsco arg3)
scheduledTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
scheduledTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, RandomGenerator arg3)
m_213897_(C_2064_ p_222138_, C_12_ p_222139_, C_4675_ p_222140_, C_212974_ arg3)
public void
a(dhi arg0, jh arg1, dxv arg2, bvk arg3)
stepOn(Level arg0, BlockPos arg1, BlockState arg2, Entity arg3)
method_9591(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_1297 arg3)
m_aqcetwet(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2, C_astfners arg3)
onSteppedOn(World arg0, BlockPos arg1, BlockState arg2, Entity arg3)
onSteppedOn(World arg0, BlockPos arg1, BlockState arg2, Entity arg3)
m_141947_(C_1596_ p_222133_, C_4675_ p_222134_, C_2064_ p_222135_, C_507_ arg3)
protected void
b(dxv arg0, dhi arg1, jh arg2, dxv 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)
m_cojbgxjy(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_txtbiemp arg3, boolean arg4)
onBlockAdded(BlockState arg0, World arg1, BlockPos arg2, BlockState 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)
protected void
a(dxv arg0, dhi arg1, jh arg2, dxv 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)
m_rhbsxbgh(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_txtbiemp arg3, boolean arg4)
onStateReplaced(BlockState arg0, World arg1, BlockPos arg2, BlockState 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)
protected BlockState
a(dxv arg0, dhl arg1, dhx arg2, jh arg3, jm arg4, jh arg5, dxv arg6, bam arg7)
updateShape(BlockState arg0, LevelReader arg1, ScheduledTickAccess arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, RandomSource arg7)
method_9559(class_2680 arg0, class_4538 arg1, class_10225 arg2, class_2338 arg3, class_2350 arg4, class_2338 arg5, class_2680 arg6, class_5819 arg7)
m_yvunqpeq(C_txtbiemp arg0, C_eemzphbi arg1, C_adoatlrf arg2, C_hynzadkk arg3, C_xpuuihxf arg4, C_hynzadkk arg5, C_txtbiemp arg6, C_rlomrsco arg7)
getStateForNeighborUpdate(BlockState arg0, WorldView arg1, ScheduledTickView arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, Random arg7)
getStateForNeighborUpdate(BlockState arg0, WorldView arg1, TickSchedulerAccess arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, RandomGenerator arg7)
m_7417_(C_2064_ p_368197_, C_1599_ p_370168_, C_346056_ p_154461_, C_4675_ p_154458_, C_4687_ p_154462_, C_4675_ p_154459_, C_2064_ p_369381_, C_212974_ arg7)
private static void
b(dhi arg0, jh arg1, dxv arg2)
updateNeighbours(Level arg0, BlockPos arg1, BlockState arg2)
method_32902(class_1937 arg0, class_2338 arg1, class_2680 arg2)
m_zzxnkxlx(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2)
updateNeighbors(World world, BlockPos pos, BlockState state)
updateNeighbors(World world, BlockPos pos, BlockState state)
m_276869_(C_1596_ p_278067_, C_4675_ p_277440_, C_2064_ p_277354_)
public BlockEntity
a(jh arg0, dxv arg1)
newBlockEntity(BlockPos arg0, BlockState arg1)
method_10123(class_2338 arg0, class_2680 arg1)
m_zupvpdxk(C_hynzadkk arg0, C_txtbiemp arg1)
createBlockEntity(BlockPos arg0, BlockState arg1)
createBlockEntity(BlockPos arg0, BlockState arg1)
m_142194_(C_4675_ p_154467_, C_2064_ arg1)
public <T extends BlockEntity> BlockEntityTicker<T>
a(dhi arg0, dxv arg1, duz<T> arg2)
getTicker(Level arg0, BlockState arg1, BlockEntityType<T> arg2)
method_31645(class_1937 arg0, class_2680 arg1, class_2591<T> arg2)
m_ujgennlh(C_cdctfzbn arg0, C_txtbiemp arg1, C_wgqvodus<T> arg2)
getTicker(World arg0, BlockState arg1, BlockEntityType<T> arg2)
getTicker(World arg0, BlockState arg1, BlockEntityType<T> arg2)
m_142354_(C_1596_ p_154402_, C_2064_ p_154403_, C_1992_<T> arg2)
protected RenderShape
a_(dxv arg0)
getRenderShape(BlockState arg0)
method_9604(class_2680 arg0)
m_mjglzdvu(C_txtbiemp arg0)
getRenderType(BlockState arg0)
getRenderType(BlockState arg0)
m_7514_(C_2064_ arg0)
protected VoxelShape
a(dxv arg0, dgn arg1, jh arg2, fcd arg3)
getShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
m_fqngyjtr(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_pbfjvesm arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext 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)
protected boolean
f_(dxv arg0)
isSignalSource(BlockState arg0)
method_9506(class_2680 arg0)
m_fjkbizwn(C_txtbiemp arg0)
emitsRedstonePower(BlockState arg0)
isRedstonePowerSource(BlockState arg0)
m_7899_(C_2064_ arg0)
protected int
a(dxv arg0, dgn arg1, jh arg2, jm arg3)
getSignal(BlockState arg0, BlockGetter arg1, BlockPos arg2, Direction arg3)
method_9524(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_2350 arg3)
m_bhohbmwk(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_xpuuihxf arg3)
getWeakRedstonePower(BlockState arg0, BlockView arg1, BlockPos arg2, Direction 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 int
b(dxv arg0, dgn arg1, jh arg2, jm arg3)
getDirectSignal(BlockState arg0, BlockGetter arg1, BlockPos arg2, Direction arg3)
method_9603(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_2350 arg3)
m_ydisyayk(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_xpuuihxf arg3)
getStrongRedstonePower(BlockState arg0, BlockView arg1, BlockPos arg2, Direction arg3)
getStrongRedstonePower(BlockState arg0, BlockView arg1, BlockPos arg2, Direction arg3)
m_6376_(C_2064_ p_279217_, C_1559_ p_279190_, C_4675_ p_279273_, C_4687_ arg3)
public static SculkSensorPhase
o(dxv arg0)
getPhase(BlockState arg0)
method_32908(class_2680 arg0)
m_oledfssr(C_txtbiemp arg0)
getPhase(BlockState state)
getPhase(BlockState state)
m_154487_(C_2064_ p_154488_)
public static boolean
q(dxv arg0)
canActivate(BlockState arg0)
method_32909(class_2680 arg0)
m_yhrxuauh(C_txtbiemp arg0)
isInactive(BlockState state)
isInactive(BlockState state)
m_154489_(C_2064_ p_154490_)
public static void
a(dhi arg0, jh arg1, dxv arg2)
deactivate(Level arg0, BlockPos arg1, BlockState arg2)
method_32903(class_1937 arg0, class_2338 arg1, class_2680 arg2)
m_jqindxbw(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2)
setCooldown(World world, BlockPos pos, BlockState state)
setCooldown(World world, BlockPos pos, BlockState state)
m_154407_(C_1596_ p_154408_, C_4675_ p_154409_, C_2064_ p_154410_)
public int
c()
getActiveTicks()
method_51166()
m_wsnummst()
getCooldownTime()
getActiveTicks()
m_278716_()
public void
a(bvk arg0, dhi arg1, jh arg2, dxv arg3, int arg4, int arg5)
activate(Entity arg0, Level arg1, BlockPos arg2, BlockState arg3, int arg4, int arg5)
method_32904(class_1297 arg0, class_1937 arg1, class_2338 arg2, class_2680 arg3, int arg4, int arg5)
m_ghzeufdb(C_astfners arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_txtbiemp arg3, int arg4, int arg5)
setActive(Entity sourceEntity, World world, BlockPos pos, BlockState state, int power, int frequency)
setActive(Entity entity, World world, BlockPos pos, BlockState state, int power, int frequency)
m_277033_(C_507_ p_277340_, C_1596_ p_277386_, C_4675_ p_277799_, C_2064_ p_277993_, int p_278003_, int arg5)
public static void
a(bvk arg0, dhi arg1, jh arg2, int arg3)
tryResonateVibration(Entity arg0, Level arg1, BlockPos arg2, int arg3)
method_49822(class_1297 arg0, class_1937 arg1, class_2338 arg2, int arg3)
m_nzxkvlkd(C_astfners arg0, C_cdctfzbn arg1, C_hynzadkk arg2, int arg3)
tryResonate(Entity sourceEntity, World world, BlockPos pos, int frequency)
tryResonate(Entity entity, World world, BlockPos pos, int frequency)
m_277083_(C_507_ p_279315_, C_1596_ p_277804_, C_4675_ p_277458_, int p_277347_)
public void
a(dxv arg0, dhi arg1, jh arg2, bam arg3)
animateTick(BlockState arg0, Level arg1, BlockPos arg2, RandomSource arg3)
method_9496(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_5819 arg3)
m_qdvbqnpt(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_rlomrsco arg3)
randomDisplayTick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
randomDisplayTick(BlockState arg0, World arg1, BlockPos arg2, RandomGenerator arg3)
m_214162_(C_2064_ p_222149_, C_1596_ p_222150_, C_4675_ p_222151_, C_212974_ arg3)
protected void
a(dxw$a<dkm, dxv> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
m_yujtcnah(C_ezfeikaq$C_mfnsmxhw<C_mmxmpdoq, C_txtbiemp> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
m_7926_(C_2065_$C_2066_<C_1706_, C_2064_> arg0)
protected boolean
c_(dxv arg0)
hasAnalogOutputSignal(BlockState arg0)
method_9498(class_2680 arg0)
m_upxjoscw(C_txtbiemp arg0)
hasComparatorOutput(BlockState arg0)
hasComparatorOutput(BlockState arg0)
m_7278_(C_2064_ arg0)
protected int
a(dxv arg0, dhi arg1, jh arg2)
getAnalogOutputSignal(BlockState arg0, Level arg1, BlockPos arg2)
method_9572(class_2680 arg0, class_1937 arg1, class_2338 arg2)
m_wtutwlcg(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2)
getComparatorOutput(BlockState arg0, World arg1, BlockPos arg2)
getComparatorOutput(BlockState arg0, World arg1, BlockPos arg2)
m_6782_(C_2064_ p_154443_, C_1596_ p_154444_, C_4675_ arg2)
protected boolean
a(dxv arg0, eum arg1)
isPathfindable(BlockState arg0, PathComputationType arg1)
method_9516(class_2680 arg0, class_10 arg1)
m_rwctfady(C_txtbiemp arg0, C_kjwlgpfr arg1)
canPathfindThrough(BlockState arg0, NavigationType arg1)
canPathfindThrough(BlockState arg0, NavigationType arg1)
m_7357_(C_2064_ p_154430_, C_2754_ arg1)
protected boolean
g_(dxv arg0)
useShapeForLightOcclusion(BlockState arg0)
method_9526(class_2680 arg0)
m_mfmohedo(C_txtbiemp arg0)
hasSidedTransparency(BlockState arg0)
hasSidedTransparency(BlockState arg0)
m_7923_(C_2064_ arg0)
protected void
a(dxv arg0, ash arg1, jh arg2, cxp arg3, boolean arg4)
spawnAfterBreak(BlockState arg0, ServerLevel arg1, BlockPos arg2, ItemStack arg3, boolean arg4)
method_9565(class_2680 arg0, class_3218 arg1, class_2338 arg2, class_1799 arg3, boolean arg4)
m_qjteufci(C_txtbiemp arg0, C_bdwnwhiu arg1, C_hynzadkk arg2, C_sddaxwyk arg3, boolean arg4)
onStacksDropped(BlockState arg0, ServerWorld arg1, BlockPos arg2, ItemStack arg3, boolean arg4)
onStacksDropped(BlockState arg0, ServerWorld arg1, BlockPos arg2, ItemStack arg3, boolean arg4)
m_213646_(C_2064_ p_222143_, C_12_ p_222144_, C_4675_ p_222145_, C_1391_ p_222146_, boolean arg4)