Package net.minecraft.world.gen.feature
Class BlockClusterFeatureConfig.Builder
- java.lang.Object
-
- net.minecraft.world.gen.feature.BlockClusterFeatureConfig.Builder
-
- Enclosing class:
- BlockClusterFeatureConfig
public static class BlockClusterFeatureConfig.Builder extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Set<BlockState>
blacklist
private BlockPlacer
blockPlacer
private boolean
canReplace
private boolean
needWater
private boolean
project
private BlockStateProvider
stateProvider
private int
tries
private java.util.Set<Block>
whitelist
private int
xspread
private int
yspread
private int
zspread
-
Constructor Summary
Constructors Constructor Description Builder(BlockStateProvider p_i225838_1_, BlockPlacer p_i225838_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BlockClusterFeatureConfig.Builder
blacklist(java.util.Set<BlockState> p_227319_1_)
BlockClusterFeatureConfig
build()
BlockClusterFeatureConfig.Builder
canReplace()
BlockClusterFeatureConfig.Builder
needWater()
BlockClusterFeatureConfig.Builder
noProjection()
BlockClusterFeatureConfig.Builder
tries(int p_227315_1_)
BlockClusterFeatureConfig.Builder
whitelist(java.util.Set<Block> p_227316_1_)
BlockClusterFeatureConfig.Builder
xspread(int p_227318_1_)
BlockClusterFeatureConfig.Builder
yspread(int p_227321_1_)
BlockClusterFeatureConfig.Builder
zspread(int p_227323_1_)
-
-
-
Field Detail
-
stateProvider
private final BlockStateProvider stateProvider
-
blockPlacer
private final BlockPlacer blockPlacer
-
whitelist
private java.util.Set<Block> whitelist
-
blacklist
private java.util.Set<BlockState> blacklist
-
tries
private int tries
-
xspread
private int xspread
-
yspread
private int yspread
-
zspread
private int zspread
-
canReplace
private boolean canReplace
-
project
private boolean project
-
needWater
private boolean needWater
-
-
Constructor Detail
-
Builder
public Builder(BlockStateProvider p_i225838_1_, BlockPlacer p_i225838_2_)
-
-
Method Detail
-
whitelist
public BlockClusterFeatureConfig.Builder whitelist(java.util.Set<Block> p_227316_1_)
-
blacklist
public BlockClusterFeatureConfig.Builder blacklist(java.util.Set<BlockState> p_227319_1_)
-
tries
public BlockClusterFeatureConfig.Builder tries(int p_227315_1_)
-
xspread
public BlockClusterFeatureConfig.Builder xspread(int p_227318_1_)
-
yspread
public BlockClusterFeatureConfig.Builder yspread(int p_227321_1_)
-
zspread
public BlockClusterFeatureConfig.Builder zspread(int p_227323_1_)
-
canReplace
public BlockClusterFeatureConfig.Builder canReplace()
-
noProjection
public BlockClusterFeatureConfig.Builder noProjection()
-
needWater
public BlockClusterFeatureConfig.Builder needWater()
-
build
public BlockClusterFeatureConfig build()
-
-