Class AlterGroundDecorator
java.lang.Object
net.minecraft.world.level.levelgen.feature.treedecorators.TreeDecorator
net.minecraft.world.level.levelgen.feature.treedecorators.AlterGroundDecorator
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.levelgen.feature.treedecorators.TreeDecorator
TreeDecorator.Context -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<AlterGroundDecorator> private final BlockStateProvider -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidplace(TreeDecorator.Context context) private voidplaceBlockAt(TreeDecorator.Context context, BlockPos pos) private voidplaceBlockAt(TreeDecorator.Context context, BlockPos pos, AlterGroundEvent.StateProvider eventProvider) private voidplaceCircle(TreeDecorator.Context context, BlockPos pos) private voidplaceCircle(TreeDecorator.Context context, BlockPos pos, AlterGroundEvent.StateProvider eventProvider) protected TreeDecoratorType<?> type()
-
Field Details
-
CODEC
-
provider
-
-
Constructor Details
-
AlterGroundDecorator
-
-
Method Details
-
type
- Specified by:
typein classTreeDecorator
-
place
- Specified by:
placein classTreeDecorator
-
placeCircle
-
placeCircle
private void placeCircle(TreeDecorator.Context context, BlockPos pos, AlterGroundEvent.StateProvider eventProvider) -
placeBlockAt
-
placeBlockAt
private void placeBlockAt(TreeDecorator.Context context, BlockPos pos, AlterGroundEvent.StateProvider eventProvider)
-