package net.minecraft.world.level.block.state.properties;

import net.minecraft.network.chat.ChatMessage;
import net.minecraft.network.chat.IChatBaseComponent;
import net.minecraft.util.INamable;

public enum BlockPropertyStructureMode implements INamable {

    SAVE("save"), LOAD("load"), CORNER("corner"), DATA("data");

    private final String name;
    private final IChatBaseComponent displayName;

    private BlockPropertyStructureMode(String s) {
        this.name = s;
        this.displayName = new ChatMessage("structure_block.mode_info." + s);
    }

    @Override
    public String getName() {
        return this.name;
    }

    public IChatBaseComponent a() {
        return this.displayName;
    }
}
