Feature getter replacement
This commit is contained in:
parent
eb15218a62
commit
29a9c9f613
2 changed files with 15 additions and 9 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue