Class TrunkPlacer.TrunkPlacerBuilder<T,P>
java.lang.Object
dev.wyck.worldgen.feature.trunkplacers.TrunkPlacer.TrunkPlacerBuilder<T,P>
- Type Parameters:
T- the builder typeP- the trunk placer type
- Direct Known Subclasses:
BendingTrunkPlacer.Builder, CherryTrunkPlacer.Builder, DarkOakTrunkPlacer.Builder, FancyTrunkPlacer.Builder, ForkingTrunkPlacer.Builder, GiantTrunkPlacer.Builder, MegaJungleTrunkPlacer.Builder, StraightTrunkPlacer.Builder, UpwardsBranchingTrunkPlacer.Builder
- Enclosing interface:
TrunkPlacer
A builder for
TrunkPlacers.- Since:
- 3.0.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected intprotected int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbaseHeight(int baseHeight) Sets the base height of the trunk.final Pbuild()Builds the trunk placer.protected abstract Pcreate()heightRandA(int heightRandA) Sets the random values for the height of the trunk.heightRandB(int heightRandB) Sets the random values for the height of the trunk.
-
Field Details
-
baseHeight
protected int baseHeight -
heightRandA
protected int heightRandA -
heightRandB
protected int heightRandB
-
-
Constructor Details
-
TrunkPlacerBuilder
public TrunkPlacerBuilder() -
TrunkPlacerBuilder
-
-
Method Details
-
baseHeight
-
heightRandA
-
heightRandB
-
build
-
create
-