History - net.minecraft.world.gen.treedecorator.ShelfMushroomDecorator

26.3-snapshot-3

Names

Fields

Constructors

Methods

boolean (TreeDecorator$Generator, BlockPos): isBlockReplaceableWithShelfMushroom, method_1_8233, canGenerateMushrromAt

26.3-snapshot-2

Names

Fields

Constructors

Methods

26.3-snapshot-1

Names

net.minecraft.world.level.levelgen.feature.treedecorators.ShelfMushroomDecorator

net.minecraft.class_1_1148

net.minecraft.world.gen.treedecorator.ShelfMushroomDecorator

Fields

com.mojang.serialization.MapCodec<ShelfMushroomDecorator>: CODEC, field_1_7933, CODEC

int: MIN_HEIGHT_OFFSET, field_1_7936, MIN_Y_OFFSET

int: MAX_HEIGHT_OFFSET, field_1_7935, MAX_Y_OFFSET

float: PER_SIDE_PLACEMENT_CHANCE, field_1_7937, GENERATION_CHANCE_PER_POSITION

int: MAX_AGE_EXCLUSIVE, field_1_7934, NUM_AGES

float: placementProbability, field_1_7938, probability

Constructors

(float)

Methods

TreeDecoratorType<?> (): type, method_28893, getType

void (TreeDecorator$Generator): place, method_23469, generate

void (TreeDecorator$Generator, List<BlockPos>, Random): placeOnStandingTree, method_1_7262, generateUpright

void (TreeDecorator$Generator, List<BlockPos>, Random): placeOnFallenLog, method_1_7261, generateSupine

boolean (TreeDecorator$Generator, BlockPos, Direction, Random): tryPlaceMushroomOnStandingTree, method_1_7264, tryGenerateShelfMushroomUpright

void (TreeDecorator$Generator, BlockPos, Direction, Random): tryPlaceMushroomOnFallenTree, method_1_7263, generateShelfMushroomSupine

boolean (List<BlockPos>): isFallenLog, method_1_7253, hasSingleYLevel

Direction[] (Random): pickTwoPerpendicularDirections, method_1_7259, getRandomAdjacentDirections

Direction[] (List<BlockPos>): perpendicularToFallenLog, method_1_7258, getLegalDirections

boolean (BlockPos, int): isWithinDecoratableHeight, method_1_7254, shouldGenerateOn

BlockPos (BlockPos, Direction): mushroomPosFor, method_1_7257, getShelfMushroomPosition

void (TreeDecorator$Generator, BlockPos, Direction, Random): placeMushroom, method_1_7260, placeShelfMushroom

boolean (TreeDecorator$Generator, BlockPos): hasShelfMushroomAt, method_1_7252, hasShelfMushroomAt

boolean (TreeDecorator$Generator, BlockPos): hasHorizontallyAdjacentShelfMushroom, method_1_7251, hasShelfMushroomAround

boolean (BlockState): lambda$hasShelfMushroomAt$0, method_1_7255, method_1_7255

Float (ShelfMushroomDecorator): lambda$static$0, method_1_7256, method_1_7256