Cave pumpkin
This commit is contained in:
parent
72113034ea
commit
3dcafa522c
40 changed files with 474 additions and 49 deletions
|
@ -14,9 +14,10 @@ import net.minecraft.state.property.IntProperty;
|
|||
import net.minecraft.util.math.BlockPos;
|
||||
import net.minecraft.world.StructureWorldAccess;
|
||||
import net.minecraft.world.World;
|
||||
import ru.betterend.blocks.BlockProperties;
|
||||
|
||||
public abstract class EndPlantWithAgeBlock extends EndPlantBlock {
|
||||
public static final IntProperty AGE = IntProperty.of("age", 0, 3);
|
||||
public static final IntProperty AGE = BlockProperties.AGE;
|
||||
|
||||
public EndPlantWithAgeBlock() {
|
||||
this(FabricBlockSettings.of(Material.PLANT)
|
||||
|
|
|
@ -13,9 +13,10 @@ import net.minecraft.state.StateManager;
|
|||
import net.minecraft.state.property.IntProperty;
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
import net.minecraft.world.StructureWorldAccess;
|
||||
import ru.betterend.blocks.BlockProperties;
|
||||
|
||||
public abstract class UnderwaterPlantWithAgeBlock extends UnderwaterPlantBlock {
|
||||
public static final IntProperty AGE = IntProperty.of("age", 0, 3);
|
||||
public static final IntProperty AGE = BlockProperties.AGE;
|
||||
|
||||
public UnderwaterPlantWithAgeBlock() {
|
||||
super(FabricBlockSettings.of(Material.UNDERWATER_PLANT)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue