net.minecraft.world.level.block

public class MossyCarpetBlock

extends Block implements BonemealableBlock

All mapped superinterfaces:

FeatureElement, ItemLike, BonemealableBlock

dpm
net.minecraft.world.level.block.MossyCarpetBlock
net.minecraft.class_10322
net.minecraft.block.PaleMossCarpetBlock
net.minecraft.world.level.block.MossyCarpetBlock

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<MossyCarpetBlock>
a
CODEC
field_54755
CODEC
public static final BooleanProperty
b
BASE
field_54756
BOTTOM
private static final EnumProperty<WallSide>
c
NORTH
field_54757
NORTH
private static final EnumProperty<WallSide>
d
EAST
field_54758
EAST
private static final EnumProperty<WallSide>
e
SOUTH
field_54759
SOUTH
private static final EnumProperty<WallSide>
f
WEST
field_54760
WEST
private static final Map<Direction, EnumProperty<WallSide>>
g
PROPERTY_BY_DIRECTION
field_54761
WALL_SHAPES
private static final float
h
AABB_OFFSET
field_54762
field_54762
private static final VoxelShape
i
DOWN_AABB
field_54763
BOTTOM_SHAPE
private static final VoxelShape
j
WEST_AABB
field_54764
TALL_WEST_SHAPE
private static final VoxelShape
k
EAST_AABB
field_54765
TALL_EAST_SHAPE
private static final VoxelShape
l
NORTH_AABB
field_54766
TALL_NORTH_SHAPE
private static final VoxelShape
m
SOUTH_AABB
field_54767
TALL_SOUTH_SHAPE
private static final int
n
SHORT_HEIGHT
field_54768
field_54768
private static final VoxelShape
o
WEST_SHORT_AABB
field_54769
LOW_WEST_SHAPE
private static final VoxelShape
G
EAST_SHORT_AABB
field_54751
LOW_EAST_SHAPE
private static final VoxelShape
H
NORTH_SHORT_AABB
field_54752
LOW_NORTH_SHAPE
private static final VoxelShape
I
SOUTH_SHORT_AABB
field_54753
LOW_SOUTH_SHAPE
private final Map<BlockState, VoxelShape>
J
shapesCache
field_54754
shapeCache

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<MossyCarpetBlock>
a()
codec()
method_53969()
getCodec()
protected VoxelShape
d_(dxv arg0)
getOcclusionShape(BlockState arg0)
method_9571(class_2680 arg0)
getCullingShape(BlockState arg0)
private static VoxelShape
o(dxv arg0)
calculateShape(BlockState arg0)
method_64797(class_2680 arg0)
getShape(BlockState state)
protected VoxelShape
a(dxv arg0, dgn arg1, jh arg2, fcd 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)
protected VoxelShape
b(dxv arg0, dgn arg1, jh arg2, fcd arg3)
getCollisionShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9549(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
getCollisionShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
protected boolean
e_(dxv arg0)
propagatesSkylightDown(BlockState arg0)
method_9579(class_2680 arg0)
isTransparent(BlockState arg0)
protected boolean
a(dxv arg0, dhl arg1, jh 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)
private static boolean
q(dxv arg0)
hasFaces(BlockState arg0)
method_64799(class_2680 arg0)
hasAnyShape(BlockState state)
private static boolean
a(dgn arg0, jh arg1, jm arg2)
canSupportAtFace(BlockGetter arg0, BlockPos arg1, Direction arg2)
method_64791(class_1922 arg0, class_2338 arg1, class_2350 arg2)
canGrowOnFace(BlockView world, BlockPos pos, Direction face)
private static BlockState
a(dxv arg0, dgn arg1, jh arg2, boolean arg3)
getUpdatedState(BlockState arg0, BlockGetter arg1, BlockPos arg2, boolean arg3)
method_64793(class_2680 arg0, class_1922 arg1, class_2338 arg2, boolean arg3)
updateState(BlockState state, BlockView world, BlockPos pos, boolean arg3)
public BlockState
a(dbg arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
public static void
a(dhj arg0, jh arg1, bam arg2, int arg3)
placeAt(LevelAccessor arg0, BlockPos arg1, RandomSource arg2, int arg3)
method_64792(class_1936 arg0, class_2338 arg1, class_5819 arg2, int arg3)
placeAt(WorldAccess world, BlockPos pos, Random random, int flags)
public void
a(dhi arg0, jh arg1, dxv arg2, bwg arg3, cxp arg4)
setPlacedBy(Level arg0, BlockPos arg1, BlockState arg2, LivingEntity arg3, ItemStack arg4)
method_9567(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_1309 arg3, class_1799 arg4)
onPlaced(World arg0, BlockPos arg1, BlockState arg2, LivingEntity arg3, ItemStack arg4)
private static BlockState
a(dgn arg0, jh arg1, BooleanSupplier arg2)
createTopperWithSideChance(BlockGetter arg0, BlockPos arg1, BooleanSupplier arg2)
method_64790(class_1922 arg0, class_2338 arg1, BooleanSupplier arg2)
createUpperState(BlockView world, BlockPos pos, BooleanSupplier arg2)
protected BlockState
a(dxv arg0, dhl arg1, dhx arg2, jh arg3, jm arg4, jh arg5, dxv arg6, bam 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 void
a(dxw$a<dkm, dxv> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
protected BlockState
a(dxv arg0, drc arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
rotate(BlockState arg0, BlockRotation arg1)
protected BlockState
a(dxv arg0, dpl arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
mirror(BlockState arg0, BlockMirror arg1)
public static EnumProperty<WallSide>
a(jm arg0)
getPropertyForFace(Direction arg0)
method_64795(class_2350 arg0)
getWallShape(Direction face)
public boolean
b(dhl arg0, jh arg1, dxv arg2)
isValidBonemealTarget(LevelReader arg0, BlockPos arg1, BlockState arg2)
method_9651(class_4538 arg0, class_2338 arg1, class_2680 arg2)
isFertilizable(WorldView arg0, BlockPos arg1, BlockState arg2)
public boolean
a(dhi arg0, bam arg1, jh arg2, dxv arg3)
isBonemealSuccess(Level arg0, RandomSource arg1, BlockPos arg2, BlockState arg3)
method_9650(class_1937 arg0, class_5819 arg1, class_2338 arg2, class_2680 arg3)
canGrow(World arg0, Random arg1, BlockPos arg2, BlockState arg3)
public void
a(ash arg0, bam arg1, jh arg2, dxv arg3)
performBonemeal(ServerLevel arg0, RandomSource arg1, BlockPos arg2, BlockState arg3)
method_9652(class_3218 arg0, class_5819 arg1, class_2338 arg2, class_2680 arg3)
grow(ServerWorld arg0, Random arg1, BlockPos arg2, BlockState arg3)