当前位置: 首页>>代码示例>>Java>>正文


Java Art.BOMB属性代码示例

本文整理汇总了Java中org.bukkit.Art.BOMB属性的典型用法代码示例。如果您正苦于以下问题:Java Art.BOMB属性的具体用法?Java Art.BOMB怎么用?Java Art.BOMB使用的例子?那么, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在org.bukkit.Art的用法示例。


在下文中一共展示了Art.BOMB属性的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: NotchToBukkit

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);
    }
}
 
开发者ID:UraniumMC,项目名称:Uranium,代码行数:32,代码来源:CraftArt.java

示例2: NotchToBukkit

public static Art NotchToBukkit(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 SKULL_AND_ROSES: 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);
    }
}
 
开发者ID:OvercastNetwork,项目名称:CraftBukkit,代码行数:32,代码来源:CraftArt.java

示例3: NotchToBukkit

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);
    }
}
 
开发者ID:tgnmc,项目名称:Craftbukkit,代码行数:32,代码来源:CraftArt.java

示例4: NotchToBukkit

public static Art NotchToBukkit(net.minecraft.util.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);
    }
}
 
开发者ID:agaricusb,项目名称:MCPBukkit,代码行数:32,代码来源:CraftArt.java


注:本文中的org.bukkit.Art.BOMB属性示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。