Feature getter replacement

This commit is contained in:
paulevsGitch 2020-09-30 11:51:10 +03:00
parent eb15218a62
commit 29a9c9f613
2 changed files with 15 additions and 9 deletions

View file

@ -1,10 +1,17 @@
package ru.betterend.blocks;
import net.minecraft.world.gen.feature.DefaultFeatureConfig;
import net.minecraft.world.gen.feature.Feature;
import ru.betterend.blocks.basis.BlockFeatureSapling;
import ru.betterend.registry.FeatureRegistry;
public class BlockMossyGlowshroomSapling extends BlockFeatureSapling {
public BlockMossyGlowshroomSapling() {
super(FeatureRegistry.MOSSY_GLOWSHROOM, 7);
super(7);
}
@Override
protected Feature<DefaultFeatureConfig> getFeature() {
return FeatureRegistry.MOSSY_GLOWSHROOM.getFeature();
}
}