net.minecraft.world.level.block

public class MossyCarpetBlock

extends Block implements BonemealableBlock

All mapped superinterfaces:

FeatureElement, ItemLike, BonemealableBlock

edo
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()
public Function<BlockState, VoxelShape>
b()
makeShapes()
method_66453()
createShapeFunction()
protected VoxelShape
a(emz arg0, dul arg1, is arg2, fsj 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(emz arg0, dul arg1, is arg2, fsj 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_(emz arg0)
propagatesSkylightDown(BlockState arg0)
method_9579(class_2680 arg0)
isTransparent(BlockState arg0)
protected boolean
a(emz arg0, dvj arg1, is 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
p(emz arg0)
hasFaces(BlockState arg0)
method_64799(class_2680 arg0)
hasAnyShape(BlockState state)
private static boolean
a(dul arg0, is arg1, iz 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(emz arg0, dul arg1, is 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(dom arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
public static void
a(dvh arg0, is arg1, bgq 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(dvg arg0, is arg1, emz arg2, chk arg3, dkm 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(dul arg0, is 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(emz arg0, dvj arg1, dvv arg2, is arg3, iz arg4, is arg5, emz arg6, bgq 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(ena$a<dyi, emz> 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(emz arg0, efe arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
rotate(BlockState arg0, BlockRotation arg1)
protected BlockState
a(emz arg0, edn arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
mirror(BlockState arg0, BlockMirror arg1)
public static EnumProperty<WallSide>
a(iz arg0)
getPropertyForFace(Direction arg0)
method_64795(class_2350 arg0)
getWallShape(Direction face)
public boolean
a(dvj arg0, is arg1, emz 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(dvg arg0, bgq arg1, is arg2, emz 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(axf arg0, bgq arg1, is arg2, emz 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)