Examples of Height


Examples of net.minecraft.world.biome.BiomeGenBase.Height

    setColor(0x68C474);
    setBiomeName("Green Swamplands");
    temperature = BiomeGenBase.swampland.temperature - 0.1F;
    rainfall = BiomeGenBase.swampland.rainfall;
    this.setHeight(new Height(-0.05F, 0.15F));
    spawnableMonsterList.add(new SpawnListEntry(EntitySlime.class, 1, 1, 1));
  }
View Full Code Here

Examples of net.minecraft.world.biome.BiomeGenBase.Height

       
        setColor(0x338277);
        setBiomeName("Snowy Rainforest");
        temperature = BiomeGenBase.taigaHills.temperature;
        rainfall = 1.3F;
        this.setHeight(new Height(0.95F, 0.55F));
        setEnableSnow();
       
        spawnableCreatureList.add(new SpawnListEntry(net.minecraft.entity.passive.EntityWolf.class, 5, 4, 4));
    }
View Full Code Here

Examples of net.minecraft.world.biome.BiomeGenBase.Height

       
        setColor(0x51B57D);
        setBiomeName("Shrubland");
        temperature = 0.4F;
        rainfall = 0.6F;
        this.setHeight(new Height(0.2F, 0.1F));
       
        spawnableCreatureList.add(new SpawnListEntry(EntityHorse.class, 6, 1, 5));
    }
View Full Code Here

Examples of net.minecraft.world.biome.BiomeGenBase.Height

        setEnableSnow();
        setColor(0x7DA0B5);
        setBiomeName("Ice Wasteland");
        temperature = 0.0F;
        rainfall = 0.1F;
        this.setHeight(new Height(0.35F, 0.05F));
    }
View Full Code Here

Examples of slash.navigation.earthtools.binding.Height

    public Double getElevationFor(double longitude, double latitude) throws IOException {
        Get get = new Get(getEarthToolsUrlPreference() + "height/" + latitude + "/" + longitude);
        String result = get.executeAsString();
        if (get.isSuccessful())
            try {
                Height height = unmarshal(result);
                Integer elevation = parseInt(height.getMeters());
                if (elevation != null && !elevation.equals(-9999))
                    return elevation.doubleValue();
            } catch (Exception e) {
                throw new IOException("Cannot unmarshall " + result + ": " + e, e);
            }
View Full Code Here

Examples of slash.navigation.earthtools.binding.Height

    private static Unmarshaller newUnmarshaller() {
        return JAXBHelper.newUnmarshaller(newContext(ObjectFactory.class));
    }

    private static Height unmarshal(StringReader reader) throws JAXBException {
        Height result = null;
        try {
            return (Height) newUnmarshaller().unmarshal(reader);
        } catch (ClassCastException e) {
            throw new JAXBException("Parse error: " + e, e);
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.