Java 类net.minecraft.server.ItemDye 实例源码

项目:CraftBukkit    文件:DyeColorsTest.java   
@Test
public void checkFireworkColor() {
    Color color = dye.getFireworkColor();
    int nmsColor = ItemDye.c[dye.getDyeData()];
    assertThat(color, is(Color.fromRGB(nmsColor)));
}
项目:Craftbukkit    文件:DyeColorsTest.java   
@Test
public void checkFireworkColor() {
    Color color = dye.getFireworkColor();
    int nmsColor = ItemDye.a[dye.getDyeData()];
    assertThat(color, is(Color.fromRGB(nmsColor)));
}
项目:Almura-Server    文件:DyeColorsTest.java   
@Test
public void checkFireworkColor() {
    Color color = dye.getFireworkColor();
    int nmsColor = ItemDye.c[dye.getDyeData()];
    assertThat(color, is(Color.fromRGB(nmsColor)));
}
项目:Tweakkit-Server    文件:DyeColorsTest.java   
@Test
public void checkFireworkColor() {
    Color color = dye.getFireworkColor();
    int nmsColor = ItemDye.c[dye.getDyeData()];
    assertThat(color, is(Color.fromRGB(nmsColor)));
}
项目:SpigotSource    文件:DyeColorsTest.java   
@Test
public void checkFireworkColor() {
    Color color = dye.getFireworkColor();
    int nmsColor = ItemDye.a[dye.getDyeData()];
    assertThat(color, is(Color.fromRGB(nmsColor)));
}
项目:Craft-city    文件:DyeColorsTest.java   
@Test
public void checkFireworkColor() {
    Color color = dye.getFireworkColor();
    int nmsColor = ItemDye.c[dye.getDyeData()];
    assertThat(color, is(Color.fromRGB(nmsColor)));
}