net.minecraft.block

public class BarrierBlock

extends Block implements Waterloggable

All mapped superinterfaces:

ToggleableFeature, ItemConvertible, Waterloggable, FluidDrainable, FluidFillable

net.minecraft.world.level.block.BarrierBlock
net.minecraft.world.level.block.BarrierBlock
net.minecraft.class_2213
net.minecraft.block.BarrierBlock

Field summary

Modifier and TypeField
public static final BooleanProperty
WATERLOGGED
WATERLOGGED
field_45144
WATERLOGGED

Constructor summary

ModifierConstructor
protected (AbstractBlock$Settings properties)

Method summary

Modifier and TypeMethod
protected boolean
propagatesSkylightDown(BlockState state)
propagatesSkylightDown(BlockState state)
method_9579(class_2680 arg0)
isTransparent(BlockState arg0)
protected BlockRenderType
getRenderShape(BlockState state)
getRenderShape(BlockState state)
method_9604(class_2680 arg0)
getRenderType(BlockState arg0)
protected float
getShadeBrightness(BlockState state, BlockGetter level, BlockPos pos)
getShadeBrightness(BlockState state, BlockGetter level, BlockPos pos)
method_9575(class_2680 arg0, class_1922 arg1, class_2338 arg2)
getAmbientOcclusionLightLevel(BlockState arg0, BlockView arg1, BlockPos arg2)
protected BlockState
updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random)
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)
protected FluidState
getFluidState(BlockState state)
getFluidState(BlockState state)
method_9545(class_2680 arg0)
getFluidState(BlockState arg0)
public BlockState
getStateForPlacement(BlockPlaceContext context)
getStateForPlacement(BlockPlaceContext context)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
protected void
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> builder)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> builder)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
public ItemStack
pickupBlock(LivingEntity user, LevelAccessor level, BlockPos pos, BlockState state)
pickupBlock(LivingEntity user, LevelAccessor level, BlockPos pos, BlockState state)
method_9700(class_1309 arg0, class_1936 arg1, class_2338 arg2, class_2680 arg3)
tryDrainFluid(LivingEntity arg0, WorldAccess arg1, BlockPos arg2, BlockState arg3)
public boolean
canPlaceLiquid(LivingEntity user, BlockGetter level, BlockPos pos, BlockState state, Fluid type)
canPlaceLiquid(LivingEntity user, BlockGetter level, BlockPos pos, BlockState state, Fluid type)
method_10310(class_1309 arg0, class_1922 arg1, class_2338 arg2, class_2680 arg3, class_3611 arg4)
canFillWithFluid(LivingEntity arg0, BlockView arg1, BlockPos arg2, BlockState arg3, Fluid arg4)