net.minecraft.world.level.block

public class CarpetBlock

extends Block

All mapped superinterfaces:

FeatureElement, ItemLike

cxh
net.minecraft.world.level.block.CarpetBlock
net.minecraft.class_2577
net.minecraft.block.CarpetBlock
net.minecraft.src.C_141197_
net.minecraft.world.level.block.CarpetBlock

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<CarpetBlock>
a
CODEC
field_46301
CODEC
f_303056_
protected static final VoxelShape
b
SHAPE
field_11783
SHAPE
f_152912_

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<? extends CarpetBlock>
a()
codec()
method_53969()
getCodec()
m_304657_()
public VoxelShape
a(djh arg0, csv arg1, hx arg2, ely arg3)
getShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
m_5940_(C_2064_ p_152918_, C_1559_ p_152919_, C_4675_ p_152920_, C_3051_ arg3)
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_152927_, C_4687_ p_152928_, C_2064_ p_152929_, C_1598_ p_152930_, C_4675_ p_152931_, C_4675_ arg5)
public boolean
a(djh arg0, cts arg1, hx arg2)
canSurvive(BlockState arg0, LevelReader arg1, BlockPos arg2)
method_9558(class_2680 arg0, class_4538 arg1, class_2338 arg2)
canPlaceAt(BlockState arg0, WorldView arg1, BlockPos arg2)
m_7898_(C_2064_ p_152923_, C_1599_ p_152924_, C_4675_ arg2)