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

public final class CraftPowderSnowCauldron extends org.bukkit.craftbukkit.v1_20_R1.block.data.CraftBlockData implements org.bukkit.block.data.Levelled {

    public CraftPowderSnowCauldron() {
        super();
    }

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

    // org.bukkit.craftbukkit.v1_20_R1.block.data.CraftLevelled

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

    @Override
    public int getLevel() {
        return get(CraftPowderSnowCauldron.LEVEL);
    }

    @Override
    public void setLevel(int level) {
        set(CraftPowderSnowCauldron.LEVEL, level);
    }

    @Override
    public int getMaximumLevel() {
        return getMax(CraftPowderSnowCauldron.LEVEL);
    }

    // Paper start
    @Override
    public int getMinimumLevel() {
        return getMin(CraftPowderSnowCauldron.LEVEL);
    }
    // Paper end
}
