mirror of
https://github.com/architectury/architectury-api.git
synced 2026-03-28 03:56:59 -05:00
Update to 1.18-pre1
This commit is contained in:
@@ -29,6 +29,7 @@ import net.minecraft.world.level.biome.BiomeSpecialEffects.GrassColorModifier;
|
||||
import net.minecraft.world.level.levelgen.GenerationStep;
|
||||
import net.minecraft.world.level.levelgen.carver.ConfiguredWorldCarver;
|
||||
import net.minecraft.world.level.levelgen.feature.ConfiguredFeature;
|
||||
import net.minecraft.world.level.levelgen.placement.PlacedFeature;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import java.util.List;
|
||||
@@ -362,7 +363,7 @@ public final class BiomeHooks {
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<List<Supplier<ConfiguredFeature<?, ?>>>> getFeatures() {
|
||||
public List<List<Supplier<PlacedFeature>>> getFeatures() {
|
||||
return settings.features();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,6 +23,7 @@ import net.minecraft.world.level.levelgen.GenerationStep;
|
||||
import net.minecraft.world.level.levelgen.carver.ConfiguredWorldCarver;
|
||||
import net.minecraft.world.level.levelgen.feature.ConfiguredFeature;
|
||||
import net.minecraft.world.level.levelgen.feature.ConfiguredStructureFeature;
|
||||
import net.minecraft.world.level.levelgen.placement.PlacedFeature;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.function.Supplier;
|
||||
@@ -30,7 +31,7 @@ import java.util.function.Supplier;
|
||||
public interface GenerationProperties {
|
||||
List<Supplier<ConfiguredWorldCarver<?>>> getCarvers(GenerationStep.Carving carving);
|
||||
|
||||
List<List<Supplier<ConfiguredFeature<?, ?>>>> getFeatures();
|
||||
List<List<Supplier<PlacedFeature>>> getFeatures();
|
||||
|
||||
interface Mutable extends GenerationProperties {
|
||||
Mutable addFeature(GenerationStep.Decoration decoration, ConfiguredFeature<?, ?> feature);
|
||||
|
||||
Reference in New Issue
Block a user