net.minecraft.world.level.block

public class MossyCarpetBlock

extends Block implements BonemealableBlock

All mapped superinterfaces:

FeatureElement, ItemLike, BonemealableBlock

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

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
public static final EnumProperty<WallSide>
c
NORTH
field_54757
NORTH
public static final EnumProperty<WallSide>
d
EAST
field_54758
EAST
public static final EnumProperty<WallSide>
e
SOUTH
field_54759
SOUTH
public static final EnumProperty<WallSide>
f
WEST
field_54760
WEST
public static final Map<Direction, EnumProperty<WallSide>>
g
PROPERTY_BY_DIRECTION
field_55778
WALL_SHAPE_PROPERTIES_BY_DIRECTION
private final Function<BlockState, VoxelShape>
h
shapes
field_55779
shapeFunction

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_(dym arg0)
getOcclusionShape(BlockState arg0)
method_9571(class_2680 arg0)
getCullingShape(BlockState arg0)
public Function<BlockState, VoxelShape>
b()
makeShapes()
method_66453()
createShapeFunction()
protected VoxelShape
a(dym arg0, dgv arg1, jj arg2, fcz 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(dym arg0, dgv arg1, jj arg2, fcz 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_(dym arg0)
propagatesSkylightDown(BlockState arg0)
method_9579(class_2680 arg0)
isTransparent(BlockState arg0)
protected boolean
a(dym arg0, dhs arg1, jj 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
o(dym arg0)
hasFaces(BlockState arg0)
method_64799(class_2680 arg0)
hasAnyShape(BlockState state)
private static boolean
a(dgv arg0, jj arg1, jo 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 direction)
private static BlockState
a(dym arg0, dgv arg1, jj 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(dbn arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
public static void
a(dhq arg0, jj arg1, azs 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(dhp arg0, jj arg1, dym arg2, bwr arg3, cxy 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(dgv arg0, jj 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(dym arg0, dhs arg1, die arg2, jj arg3, jo arg4, jj arg5, dym arg6, azs 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(dyn$a<dku, dym> 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(dym arg0, drm arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
rotate(BlockState arg0, BlockRotation arg1)
protected BlockState
a(dym arg0, dpv arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
mirror(BlockState arg0, BlockMirror arg1)
public static EnumProperty<WallSide>
a(jo arg0)
getPropertyForFace(Direction arg0)
method_64795(class_2350 arg0)
getWallShape(Direction face)
public boolean
a(dhs arg0, jj arg1, dym 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(dhp arg0, azs arg1, jj arg2, dym 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(arn arg0, azs arg1, jj arg2, dym 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)