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