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

项目:CraftBukkit    文件:WorldTypeTest.java   
@Test
public void testTypes() {
    for (WorldType type : WorldType.types) {
        if (type == null) continue;

        assertThat(type.name() + " has no Bukkit world", org.bukkit.WorldType.getByName(type.name()), is(not(nullValue())));
    }
}
项目:Craftbukkit    文件:WorldTypeTest.java   
@Test
public void testTypes() {
    for (WorldType type : WorldType.types) {
        if (type == null) continue;
        if (type == WorldType.DEBUG_ALL_BLOCK_STATES) continue; // Doesn't work anyway

        assertThat(type.name() + " has no Bukkit world", org.bukkit.WorldType.getByName(type.name()), is(not(nullValue())));
    }
}
项目:Almura-Server    文件:WorldTypeTest.java   
@Test
public void testTypes() {
    for (WorldType type : WorldType.types) {
        if (type == null) continue;

        assertThat(type.name() + " has no Bukkit world", org.bukkit.WorldType.getByName(type.name()), is(not(nullValue())));
    }
}
项目:Tweakkit-Server    文件:WorldTypeTest.java   
@Test
public void testTypes() {
    for (WorldType type : WorldType.types) {
        if (type == null) continue;

        assertThat(type.name() + " has no Bukkit world", org.bukkit.WorldType.getByName(type.name()), is(not(nullValue())));
    }
}
项目:SpigotSource    文件:WorldTypeTest.java   
@Test
public void testTypes() {
    for (WorldType type : WorldType.types) {
        if (type == null) continue;
        if (type == WorldType.DEBUG_ALL_BLOCK_STATES) continue; // Doesn't work anyway

        assertThat(type.name() + " has no Bukkit world", org.bukkit.WorldType.getByName(type.name()), is(not(nullValue())));
    }
}
项目:Craft-city    文件:WorldTypeTest.java   
@Test
public void testTypes() {
    for (WorldType type : WorldType.types) {
        if (type == null) continue;

        assertThat(type.name() + " has no Bukkit world", org.bukkit.WorldType.getByName(type.name()), is(not(nullValue())));
    }
}