net.minecraft.world.level.block

public class BarrierBlock

extends Block implements SimpleWaterloggedBlock

All mapped superinterfaces:

FeatureElement, ItemLike, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

cvx
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_()
public boolean
a_(djh arg0, csv arg1, hx 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_7420_(C_2064_ p_49101_, C_1559_ p_49102_, C_4675_ arg2)
public RenderShape
b_(djh arg0)
getRenderShape(BlockState arg0)
method_9604(class_2680 arg0)
getRenderType(BlockState arg0)
m_7514_(C_2064_ arg0)
public float
d(djh arg0, csv arg1, hx 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)
public BlockState
a(djh arg0, ic arg1, djh arg2, ctq arg3, hx arg4, hx 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)
public FluidState
c_(djh arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
getFluidState(BlockState arg0)
m_5888_(C_2064_ arg0)
public BlockState
a(cph arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
protected void
a(dji$a<cwq, djh> 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(cfi arg0, ctq arg1, hx arg2, djh 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(cfi arg0, csv arg1, hx arg2, djh arg3, eeq 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)