Flavolite textures, leaves
This commit is contained in:
parent
0d5e6d544c
commit
a2b6249671
11 changed files with 47 additions and 0 deletions
|
@ -0,0 +1,16 @@
|
|||
package ru.betterend.blocks;
|
||||
|
||||
import net.minecraft.world.gen.feature.Feature;
|
||||
import ru.betterend.blocks.basis.BlockFeatureSapling;
|
||||
import ru.betterend.registry.FeatureRegistry;
|
||||
|
||||
public class BlockMossyPythadendronSapling extends BlockFeatureSapling {
|
||||
public BlockMossyPythadendronSapling() {
|
||||
super();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Feature<?> getFeature() {
|
||||
return FeatureRegistry.PYTHADENDRON_TREE.getFeature();
|
||||
}
|
||||
}
|
12
src/main/java/ru/betterend/blocks/basis/BlockLeaves.java
Normal file
12
src/main/java/ru/betterend/blocks/basis/BlockLeaves.java
Normal file
|
@ -0,0 +1,12 @@
|
|||
package ru.betterend.blocks.basis;
|
||||
|
||||
import net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings;
|
||||
import net.minecraft.block.Blocks;
|
||||
import net.minecraft.block.LeavesBlock;
|
||||
import net.minecraft.block.MaterialColor;
|
||||
|
||||
public class BlockLeaves extends LeavesBlock {
|
||||
public BlockLeaves(MaterialColor color) {
|
||||
super(FabricBlockSettings.copyOf(Blocks.OAK_LEAVES).materialColor(color));
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue