Skip to content

Commit

Permalink
Change CustomLayeredFeature
Browse files Browse the repository at this point in the history
  • Loading branch information
FirstMegaGame4 committed Oct 25, 2024
1 parent b760294 commit 6f359d3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ public class CustomLayeredFeature implements CustomFeature, FeatureRegistrable {
private final AtomicReference<Identifier> identifier = new AtomicReference<>();
private final BiList<PlacedFeature, String> additionalPlacedFeatures = new BiArrayList<>();

private final Supplier<List<RegistryKey<PlacedFeature>>> features;
private final Supplier<List<RegistryKey<ConfiguredFeature<?, ?>>>> features;
private final GenerationStep.Feature step;
private final List<PlacementModifier> defaultPlacementModifiers;

public CustomLayeredFeature(Supplier<List<RegistryKey<PlacedFeature>>> features, GenerationStep.Feature step, PlacementModifier... defaultPlacementModifiers) {
public CustomLayeredFeature(Supplier<List<RegistryKey<ConfiguredFeature<?, ?>>>> features, GenerationStep.Feature step, PlacementModifier... defaultPlacementModifiers) {
this.features = features;
this.step = step;
this.defaultPlacementModifiers = List.of(defaultPlacementModifiers);
Expand Down

0 comments on commit 6f359d3

Please sign in to comment.