net.minecraft.world.level.block

public class BarrierBlock

extends Block implements SimpleWaterloggedBlock

All mapped superinterfaces:

FeatureElement, ItemLike, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

dff
net.minecraft.world.level.block.BarrierBlock
net.minecraft.class_2213
net.minecraft.block.BarrierBlock
net.minecraft.src.C_1685_
net.minecraft.world.level.block.BlockBarrier

Field summary

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

Constructor summary

ModifierConstructor
protected (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<BarrierBlock>
a()
codec()
method_53969()
getCodec()
m_304657_()
protected boolean
a_(dtc arg0, dcc arg1, jd arg2)
propagatesSkylightDown(BlockState arg0, BlockGetter arg1, BlockPos arg2)
method_9579(class_2680 arg0, class_1922 arg1, class_2338 arg2)
isTransparent(BlockState arg0, BlockView arg1, BlockPos arg2)
m_49099_(C_2064_ p_49101_, C_1559_ p_49102_, C_4675_ arg2)
protected RenderShape
a_(dtc arg0)
getRenderShape(BlockState arg0)
method_9604(class_2680 arg0)
getRenderType(BlockState arg0)
m_7514_(C_2064_ arg0)
protected float
d(dtc arg0, dcc arg1, jd 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)
m_7749_(C_2064_ p_49095_, C_1559_ p_49096_, C_4675_ arg2)
protected BlockState
a(dtc arg0, ji arg1, dtc arg2, dcx arg3, jd arg4, jd arg5)
updateShape(BlockState arg0, Direction arg1, BlockState arg2, LevelAccessor arg3, BlockPos arg4, BlockPos arg5)
method_9559(class_2680 arg0, class_2350 arg1, class_2680 arg2, class_1936 arg3, class_2338 arg4, class_2338 arg5)
getStateForNeighborUpdate(BlockState arg0, Direction arg1, BlockState arg2, WorldAccess arg3, BlockPos arg4, BlockPos arg5)
m_7417_(C_2064_ p_298685_, C_4687_ p_298648_, C_2064_ p_299709_, C_1598_ p_297885_, C_4675_ p_299701_, C_4675_ arg5)
protected FluidState
b_(dtc arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
getFluidState(BlockState arg0)
m_5888_(C_2064_ arg0)
public BlockState
a(cyd arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
protected void
a(dtd$a<dfy, dtc> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
m_7926_(C_2065_$C_2066_<C_1706_, C_2064_> arg0)
public ItemStack
a(cmx arg0, dcx arg1, jd arg2, dtc arg3)
pickupBlock(Player arg0, LevelAccessor arg1, BlockPos arg2, BlockState arg3)
method_9700(class_1657 arg0, class_1936 arg1, class_2338 arg2, class_2680 arg3)
tryDrainFluid(PlayerEntity arg0, WorldAccess arg1, BlockPos arg2, BlockState arg3)
m_142598_(C_1141_ p_299225_, C_1598_ p_298270_, C_4675_ p_298275_, C_2064_ arg3)
public boolean
a(cmx arg0, dcc arg1, jd arg2, dtc arg3, epd arg4)
canPlaceLiquid(Player arg0, BlockGetter arg1, BlockPos arg2, BlockState arg3, Fluid arg4)
method_10310(class_1657 arg0, class_1922 arg1, class_2338 arg2, class_2680 arg3, class_3611 arg4)
canFillWithFluid(PlayerEntity arg0, BlockView arg1, BlockPos arg2, BlockState arg3, Fluid arg4)
m_6044_(C_1141_ p_299765_, C_1559_ p_297382_, C_4675_ p_299344_, C_2064_ p_299153_, C_2690_ arg4)