Feature builder prototype

This commit is contained in:
paulevsGitch 2021-12-21 18:44:17 +03:00
parent 3e203d4e47
commit 3cac6cad3d
2 changed files with 77 additions and 1 deletions

View file

@ -33,7 +33,7 @@ public class BCLFeature {
this.feature = feature;
}
public BCLFeature(ResourceLocation id, Feature<NoneFeatureConfiguration> feature, Decoration featureStep, PlacedFeature placedFeature) {
public BCLFeature(ResourceLocation id, Feature<?> feature, Decoration featureStep, PlacedFeature placedFeature) {
this.placedFeature = Registry.register(BuiltinRegistries.PLACED_FEATURE, id, placedFeature);
this.feature = Registry.register(Registry.FEATURE, id, feature);
this.featureStep = featureStep;