net.minecraft.block

public class PotentSulfurBlock

extends BlockWithEntity

All mapped superinterfaces:

ToggleableFeature, ItemConvertible, BlockEntityProvider

net.minecraft.world.level.block.PotentSulfurBlock
net.minecraft.class_1_735
net.minecraft.block.PotentSulfurBlock

Field summary

Modifier and TypeField
public static final int
ALLOWED_WATER_BLOCKS_ABOVE
field_1_3728
EFFECT_HEIGHT
public static final EnumProperty<PotentSulfurState>
STATE
field_1_6113
STATE

Constructor summary

ModifierConstructor
public (AbstractBlock$Settings properties)

Method summary

Modifier and TypeMethod
protected void
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> builder)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
public BlockEntity
newBlockEntity(BlockPos worldPosition, BlockState blockState)
method_10123(class_2338 arg0, class_2680 arg1)
createBlockEntity(BlockPos arg0, BlockState arg1)
protected BlockState
updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random)
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)
public BlockState
getStateForPlacement(BlockPlaceContext context)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
private static BlockState
validBlockState(BlockState state, LevelReader level, BlockPos pos)
method_1_5212(class_2680 arg0, class_4538 arg1, class_2338 arg2)
getStateForPos(BlockState state, WorldView world, BlockPos pos)
private static boolean
isSourceIfFluid(BlockState belowState)
method_1_6303(class_2680 arg0)
isDryOrStillFluid(BlockState state)
protected void
onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean movedByPiston)
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)
public void
animateTick(BlockState state, Level level, BlockPos pos, RandomSource random)
method_9496(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_5819 arg3)
randomDisplayTick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
private static void
spawnBubbleParticlesAt(Level level, RandomSource random, double x, double y, double z)
method_1_4444(class_1937 arg0, class_5819 arg1, double arg2, double arg3, double arg4)
addBubbleParticles(World world, Random random, double x, double y, double z)
protected boolean
triggerEvent(BlockState state, Level level, BlockPos pos, int b0, int b1)
method_9592(class_2680 arg0, class_1937 arg1, class_2338 arg2, int arg3, int arg4)
onSyncedBlockEvent(BlockState arg0, World arg1, BlockPos arg2, int arg3, int arg4)
public <T extends BlockEntity> BlockEntityTicker<T>
getTicker(Level level, BlockState blockState, BlockEntityType<T> type)
method_31645(class_1937 arg0, class_2680 arg1, class_2591<T> arg2)
getTicker(World arg0, BlockState arg1, BlockEntityType<T> arg2)