Class FeatureMushroomRed
java.lang.Object
org.cloudburstmc.server.level.feature.ReplacingWorldFeature
org.cloudburstmc.server.level.feature.tree.FeatureAbstractTree
org.cloudburstmc.server.level.feature.tree.FeatureMushroomBrown
org.cloudburstmc.server.level.feature.tree.FeatureMushroomRed
- All Implemented Interfaces:
Predicate<org.cloudburstmc.api.block.BlockState>,WorldFeature,BlockFilter
Generates a huge red mushroom.
- Author:
- DaPorkchop_
-
Field Summary
Fields inherited from class org.cloudburstmc.server.level.feature.tree.FeatureAbstractTree
height, leaves, logFields inherited from interface org.cloudburstmc.server.level.generator.standard.misc.filter.BlockFilter
AIR, REPLACEABLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidplaceLeaves(org.cloudburstmc.api.level.ChunkManager level, net.daporkchop.lib.random.PRandom random, int x, int y, int z, int height, org.cloudburstmc.api.block.BlockState log, org.cloudburstmc.api.block.BlockState leaves)protected voidplaceSideColumn(org.cloudburstmc.api.level.ChunkManager level, int x, int y, int z, int damage)protected org.cloudburstmc.api.block.BlockStateselectLog(org.cloudburstmc.api.level.ChunkManager level, net.daporkchop.lib.random.PRandom random, int x, int y, int z, int height)Methods inherited from class org.cloudburstmc.server.level.feature.tree.FeatureMushroomBrown
canPlace, chooseHeight, finish, placeTrunk, selectLeavesMethods inherited from class org.cloudburstmc.server.level.feature.tree.FeatureAbstractTree
placeMethods inherited from class org.cloudburstmc.server.level.feature.ReplacingWorldFeature
allNeighborsMatch, allNeighborsMatch, replaceGrassWithDirt, test, testOrLiquid, testOrLiquid
-
Constructor Details
-
FeatureMushroomRed
-
-
Method Details
-
selectLog
protected org.cloudburstmc.api.block.BlockState selectLog(org.cloudburstmc.api.level.ChunkManager level, net.daporkchop.lib.random.PRandom random, int x, int y, int z, int height)- Overrides:
selectLogin classFeatureMushroomBrown
-
placeLeaves
protected void placeLeaves(org.cloudburstmc.api.level.ChunkManager level, net.daporkchop.lib.random.PRandom random, int x, int y, int z, int height, org.cloudburstmc.api.block.BlockState log, org.cloudburstmc.api.block.BlockState leaves)- Overrides:
placeLeavesin classFeatureMushroomBrown
-
placeSideColumn
protected void placeSideColumn(org.cloudburstmc.api.level.ChunkManager level, int x, int y, int z, int damage)
-