tutorial:trees
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
tutorial:trees [2022/09/11 07:42] – [Creating an advanced SaplingGenerator] nexus-dino | tutorial:trees [2022/10/26 08:47] – Add missing parenthesis mattidragon | ||
---|---|---|---|
Line 220: | Line 220: | ||
public static final Codec< | public static final Codec< | ||
fillFoliagePlacerFields(instance) | fillFoliagePlacerFields(instance) | ||
- | .and(IntProvider.createValidatingCodec(1, | + | .and(IntProvider.createValidatingCodec(1, |
.apply(instance, | .apply(instance, | ||
Line 418: | Line 418: | ||
<code java> | <code java> | ||
[...] | [...] | ||
- | .dirtProvider(new SimpleBlockStateProvider(Blocks.IRON_BLOCK.getDefaultState())) | + | .dirtProvider(BlockStateProvider.of(Blocks.IRON_BLOCK)) |
[...] | [...] | ||
</ | </ |
tutorial/trees.txt · Last modified: 2022/12/21 01:40 by haykam