tutorial:trees
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
tutorial:trees [2022/09/10 19:34] – [Creating the TreeDecorator] nexus-dino | tutorial:trees [2022/09/10 19:35] – [Creating an advanced SaplingGenerator] nexus-dino | ||
---|---|---|---|
Line 388: | Line 388: | ||
<code java> | <code java> | ||
public class RichSaplingGenerator extends SaplingGenerator { | public class RichSaplingGenerator extends SaplingGenerator { | ||
- | private final ConfiguredFeature< | ||
- | |||
- | public RichSaplingGenerator(ConfiguredFeature<?, | ||
- | this.feature = (ConfiguredFeature< | ||
- | } | ||
- | |||
@Nullable | @Nullable | ||
@Override | @Override | ||
- | protected ConfiguredFeature< | + | protected |
int chance = random.nextInt(100); | int chance = random.nextInt(100); | ||
| |
tutorial/trees.txt · Last modified: 2022/12/21 01:40 by haykam