Block constructors refactoring

This commit is contained in:
paulevsGitch 2021-12-04 05:46:16 +03:00
parent d6faafd4c0
commit 3dacd0727f
18 changed files with 146 additions and 84 deletions

View file

@ -65,8 +65,8 @@ public class FeatureSaplingBlock extends SaplingBlock implements RenderLayerProv
);
}
public FeatureSaplingBlock(BlockBehaviour.Properties settings, Function<BlockState, Feature<?>> featureSupplier) {
super(null, settings);
public FeatureSaplingBlock(BlockBehaviour.Properties properties, Function<BlockState, Feature<?>> featureSupplier) {
super(null, properties);
this.feature = featureSupplier;
}