According to the changelog, the field should be xz_offset.
The current definition in RandomNeighborSpreadFeature uses xy_offset:
public static final MapCodec<RandomNeighborSpreadFeature> CODEC = RecordCodecBuilder.mapCodec(
i -> i.group(
// ...
IntProviders.codec(-16, 16).fieldOf("xy_offset").forGetter(RandomNeighborSpreadFeature::xzOffset),
// ...
)
.apply(i, RandomNeighborSpreadFeature::new)
);Comments 0
No comments.