net.minecraft.world.level.block

public class BarrierBlock

extends Block implements SimpleWaterloggedBlock

All mapped superinterfaces:

FeatureElement, ItemLike, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

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

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<BarrierBlock>
a
CODEC
field_46266
CODEC
public static final BooleanProperty
b
WATERLOGGED
field_45144
WATERLOGGED

Constructor summary

ModifierConstructor
protected (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<BarrierBlock>
a()
codec()
method_53969()
getCodec()
protected boolean
e_(dzo arg0)
propagatesSkylightDown(BlockState arg0)
method_9579(class_2680 arg0)
isTransparent(BlockState arg0)
protected RenderShape
a_(dzo arg0)
getRenderShape(BlockState arg0)
method_9604(class_2680 arg0)
getRenderType(BlockState arg0)
protected float
c(dzo arg0, dhv arg1, iu arg2)
getShadeBrightness(BlockState arg0, BlockGetter arg1, BlockPos arg2)
method_9575(class_2680 arg0, class_1922 arg1, class_2338 arg2)
getAmbientOcclusionLightLevel(BlockState arg0, BlockView arg1, BlockPos arg2)
protected BlockState
a(dzo arg0, dis arg1, dje arg2, iu arg3, ja arg4, iu arg5, dzo arg6, azt 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)
protected FluidState
b_(dzo arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
getFluidState(BlockState arg0)
public BlockState
a(dcl arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
protected void
a(dzp$a<dlu, dzo> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
public ItemStack
a(bwz arg0, diq arg1, iu arg2, dzo arg3)
pickupBlock(LivingEntity arg0, LevelAccessor arg1, BlockPos arg2, BlockState arg3)
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
a(bwz arg0, dhv arg1, iu arg2, dzo arg3, evu arg4)
canPlaceLiquid(LivingEntity arg0, BlockGetter arg1, BlockPos arg2, BlockState arg3, Fluid arg4)
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)