Java Code Examples for org.bukkit.Art#WASTELAND

The following examples show how to use org.bukkit.Art#WASTELAND . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: CraftArt.java    From Thermos with GNU General Public License v3.0 5 votes vote down vote up
public static Art NotchToBukkit(net.minecraft.entity.item.EntityPainting.EnumArt art) {
    switch (art) {
        case Kebab: return Art.KEBAB;
        case Aztec: return Art.AZTEC;
        case Alban: return Art.ALBAN;
        case Aztec2: return Art.AZTEC2;
        case Bomb: return Art.BOMB;
        case Plant: return Art.PLANT;
        case Wasteland: return Art.WASTELAND;
        case Pool: return Art.POOL;
        case Courbet: return Art.COURBET;
        case Sea: return Art.SEA;
        case Sunset: return Art.SUNSET;
        case Creebet: return Art.CREEBET;
        case Wanderer: return Art.WANDERER;
        case Graham: return Art.GRAHAM;
        case Match: return Art.MATCH;
        case Bust: return Art.BUST;
        case Stage: return Art.STAGE;
        case Void: return Art.VOID;
        case SkullAndRoses: return Art.SKULL_AND_ROSES;
        case Fighters: return Art.FIGHTERS;
        case Pointer: return Art.POINTER;
        case Pigscene: return Art.PIGSCENE;
        case BurningSkull: return Art.BURNINGSKULL;
        case Skeleton: return Art.SKELETON;
        case DonkeyKong: return Art.DONKEYKONG;
        case Wither: return Art.WITHER;
        default:
            throw new AssertionError(art);
    }
}
 
Example 2
Source File: CraftArt.java    From Kettle with GNU General Public License v3.0 4 votes vote down vote up
public static Art NotchToBukkit(EnumArt art) {
    switch (art) {
        case KEBAB:
            return Art.KEBAB;
        case AZTEC:
            return Art.AZTEC;
        case ALBAN:
            return Art.ALBAN;
        case AZTEC_2:
            return Art.AZTEC2;
        case BOMB:
            return Art.BOMB;
        case PLANT:
            return Art.PLANT;
        case WASTELAND:
            return Art.WASTELAND;
        case POOL:
            return Art.POOL;
        case COURBET:
            return Art.COURBET;
        case SEA:
            return Art.SEA;
        case SUNSET:
            return Art.SUNSET;
        case CREEBET:
            return Art.CREEBET;
        case WANDERER:
            return Art.WANDERER;
        case GRAHAM:
            return Art.GRAHAM;
        case MATCH:
            return Art.MATCH;
        case BUST:
            return Art.BUST;
        case STAGE:
            return Art.STAGE;
        case VOID:
            return Art.VOID;
        case SKULL_AND_ROSES:
            return Art.SKULL_AND_ROSES;
        case FIGHTERS:
            return Art.FIGHTERS;
        case POINTER:
            return Art.POINTER;
        case PIGSCENE:
            return Art.PIGSCENE;
        case BURNING_SKULL:
            return Art.BURNINGSKULL;
        case SKELETON:
            return Art.SKELETON;
        case DONKEY_KONG:
            return Art.DONKEYKONG;
        case WITHER:
            return Art.WITHER;
        default:
            throw new AssertionError(art);
    }
}