All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.nukkit.blockproperty.value.CrackState Maven / Gradle / Ivy

Go to download

A Minecraft Bedrock Edition server software implementation made in Java from scratch which supports all new features.

There is a newer version: 1.6.0.1-PN
Show newest version
package cn.nukkit.blockproperty.value;

import cn.nukkit.api.PowerNukkitOnly;
import cn.nukkit.api.Since;

import javax.annotation.Nullable;

@PowerNukkitOnly
@Since("1.4.0.0-PN")
public enum CrackState {
    @PowerNukkitOnly
    @Since("1.4.0.0-PN")
    NO_CRACKS,
    
    @PowerNukkitOnly
    @Since("1.4.0.0-PN")
    CRACKED,
    
    @PowerNukkitOnly
    @Since("1.4.0.0-PN")
    MAX_CRACKED {
        @Nullable
        @Override
        public CrackState getNext() {
            return null;
        }
    };
    private static final CrackState[] VALUES = values();

    @PowerNukkitOnly
    @Since("1.4.0.0-PN")
    @Nullable
    public CrackState getNext() {
        return VALUES[ordinal() + 1];
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy