net.minecraft.world.level.block

public class SculkSensorBlock

extends BaseEntityBlock implements SimpleWaterloggedBlock

All mapped superinterfaces:

FeatureElement, ItemLike, EntityBlock, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

dql
net.minecraft.world.level.block.SculkSensorBlock
net.minecraft.class_5703
net.minecraft.block.SculkSensorBlock
net.minecraft.world.level.block.SculkSensorBlock

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<SculkSensorBlock>
c
CODEC
field_46435
CODEC
public static final int
d
ACTIVE_TICKS
field_31239
field_31239
public static final int
e
COOLDOWN_TICKS
field_44607
field_44607
public static final EnumProperty<SculkSensorPhase>
f
PHASE
field_28111
SCULK_SENSOR_PHASE
public static final IntegerProperty
g
POWER
field_28112
POWER
public static final BooleanProperty
h
WATERLOGGED
field_28113
WATERLOGGED
protected static final VoxelShape
i
SHAPE
field_28114
OUTLINE_SHAPE
private static final float[]
a
RESONANCE_PITCH_BEND
field_43248
RESONATION_NOTE_PITCHES

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<? extends SculkSensorBlock>
a()
codec()
method_53969()
getCodec()
public BlockState
a(dah arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
protected FluidState
b_(dwy arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
getFluidState(BlockState arg0)
protected void
a(dwy arg0, ard arg1, ji arg2, azh arg3)
tick(BlockState arg0, ServerLevel arg1, BlockPos arg2, RandomSource arg3)
method_9588(class_2680 arg0, class_3218 arg1, class_2338 arg2, class_5819 arg3)
scheduledTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
public void
a(dgj arg0, ji arg1, dwy arg2, bum arg3)
stepOn(Level arg0, BlockPos arg1, BlockState arg2, Entity arg3)
method_9591(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_1297 arg3)
onSteppedOn(World arg0, BlockPos arg1, BlockState arg2, Entity arg3)
protected void
b(dwy arg0, dgj arg1, ji arg2, dwy 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)
protected void
a(dwy arg0, dgj arg1, ji arg2, dwy 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)
protected BlockState
a(dwy arg0, dgm arg1, dgy arg2, ji arg3, jn arg4, ji arg5, dwy arg6, azh 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)
getStateForNeighborUpdate(BlockState arg0, WorldView arg1, ScheduledTickView arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, Random arg7)
private static void
b(dgj arg0, ji arg1, dwy arg2)
updateNeighbours(Level arg0, BlockPos arg1, BlockState arg2)
method_32902(class_1937 arg0, class_2338 arg1, class_2680 arg2)
updateNeighbors(World world, BlockPos pos, BlockState state)
public BlockEntity
a(ji arg0, dwy arg1)
newBlockEntity(BlockPos arg0, BlockState arg1)
method_10123(class_2338 arg0, class_2680 arg1)
createBlockEntity(BlockPos arg0, BlockState arg1)
public <T extends BlockEntity> BlockEntityTicker<T>
a(dgj arg0, dwy arg1, duc<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)
protected VoxelShape
a(dwy arg0, dfo arg1, ji arg2, fbg 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)
protected boolean
f_(dwy arg0)
isSignalSource(BlockState arg0)
method_9506(class_2680 arg0)
emitsRedstonePower(BlockState arg0)
protected int
a(dwy arg0, dfo arg1, ji arg2, jn 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)
public int
b(dwy arg0, dfo arg1, ji arg2, jn arg3)
getDirectSignal(BlockState arg0, BlockGetter arg1, BlockPos arg2, Direction arg3)
method_9603(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_2350 arg3)
getStrongRedstonePower(BlockState arg0, BlockView arg1, BlockPos arg2, Direction arg3)
public static SculkSensorPhase
o(dwy arg0)
getPhase(BlockState arg0)
method_32908(class_2680 arg0)
getPhase(BlockState state)
public static boolean
q(dwy arg0)
canActivate(BlockState arg0)
method_32909(class_2680 arg0)
isInactive(BlockState state)
public static void
a(dgj arg0, ji arg1, dwy 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)
public int
c()
getActiveTicks()
method_51166()
getCooldownTime()
public void
a(bum arg0, dgj arg1, ji arg2, dwy 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)
setActive(Entity sourceEntity, World world, BlockPos pos, BlockState state, int power, int frequency)
public static void
a(bum arg0, dgj arg1, ji 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)
tryResonate(Entity sourceEntity, World world, BlockPos pos, int frequency)
public void
a(dwy arg0, dgj arg1, ji arg2, azh arg3)
animateTick(BlockState arg0, Level arg1, BlockPos arg2, RandomSource arg3)
method_9496(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_5819 arg3)
randomDisplayTick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
protected void
a(dwz$a<djn, dwy> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
protected boolean
c_(dwy arg0)
hasAnalogOutputSignal(BlockState arg0)
method_9498(class_2680 arg0)
hasComparatorOutput(BlockState arg0)
protected int
a(dwy arg0, dgj arg1, ji 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)
protected boolean
a(dwy arg0, etp arg1)
isPathfindable(BlockState arg0, PathComputationType arg1)
method_9516(class_2680 arg0, class_10 arg1)
canPathfindThrough(BlockState arg0, NavigationType arg1)
protected boolean
g_(dwy arg0)
useShapeForLightOcclusion(BlockState arg0)
method_9526(class_2680 arg0)
hasSidedTransparency(BlockState arg0)
protected void
a(dwy arg0, ard arg1, ji arg2, cwq 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)
onStacksDropped(BlockState arg0, ServerWorld arg1, BlockPos arg2, ItemStack arg3, boolean arg4)