/**
 * Automatically generated file, changes will be lost.
 */
package org.bukkit.craftbukkit.v1_17_R1.block.impl;

public final class CraftBeetroot extends org.bukkit.craftbukkit.v1_17_R1.block.data.CraftBlockData implements org.bukkit.block.data.Ageable {

    public CraftBeetroot() {
        super();
    }

    public CraftBeetroot(net.minecraft.world.level.block.state.BlockState state) {
        super(state);
    }

    // org.bukkit.craftbukkit.v1_17_R1.block.data.CraftAgeable

    private static final net.minecraft.world.level.block.state.properties.IntegerProperty AGE = getInteger(net.minecraft.world.level.block.BeetrootBlock.class, "age");

    @Override
    public int getAge() {
        return get(CraftBeetroot.AGE);
    }

    @Override
    public void setAge(int age) {
        set(CraftBeetroot.AGE, age);
    }

    @Override
    public int getMaximumAge() {
        return getMax(CraftBeetroot.AGE);
    }
}
