Missing textures, shaders

This commit is contained in:
paulevsGitch 2020-12-10 21:36:13 +03:00
parent 5c05b74d52
commit 6de1d29ffc
16 changed files with 63 additions and 1 deletions

View file

@ -18,7 +18,7 @@ public abstract class BlockPlantWithAge extends BlockPlant {
public static final IntProperty AGE = IntProperty.of("age", 0, 3);
public BlockPlantWithAge() {
super(FabricBlockSettings.of(Material.PLANT)
this(FabricBlockSettings.of(Material.PLANT)
.breakByTool(FabricToolTags.SHEARS)
.sounds(BlockSoundGroup.GRASS)
.breakByHand(true)
@ -26,6 +26,10 @@ public abstract class BlockPlantWithAge extends BlockPlant {
.noCollision());
}
public BlockPlantWithAge(FabricBlockSettings settings) {
super(settings);
}
@Override
protected void appendProperties(StateManager.Builder<Block, BlockState> stateManager) {
stateManager.add(AGE);