From dc3df3edd5843bde0c1335d6a8e460b2c832aa48 Mon Sep 17 00:00:00 2001 From: Foghrye4 Date: Sat, 17 Jun 2017 08:12:18 +0300 Subject: full project files --- javadoc/net/minecraft/world/WorldProvider.html | 1266 ++++++++++++++++++++++++ 1 file changed, 1266 insertions(+) create mode 100644 javadoc/net/minecraft/world/WorldProvider.html (limited to 'javadoc/net/minecraft/world/WorldProvider.html') diff --git a/javadoc/net/minecraft/world/WorldProvider.html b/javadoc/net/minecraft/world/WorldProvider.html new file mode 100644 index 0000000..16a85b1 --- /dev/null +++ b/javadoc/net/minecraft/world/WorldProvider.html @@ -0,0 +1,1266 @@ + + + + + +WorldProvider (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraft.world
+

Class WorldProvider

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        moonPhaseFactors

        +
        public static final float[] moonPhaseFactors
        +
      • +
      + + + +
        +
      • +

        worldObj

        +
        public World worldObj
        +
      • +
      + + + +
        +
      • +

        terrainType

        +
        public WorldType terrainType
        +
      • +
      + + + +
        +
      • +

        field_82913_c

        +
        public java.lang.String field_82913_c
        +
      • +
      + + + + + + + +
        +
      • +

        isHellWorld

        +
        public boolean isHellWorld
        +
      • +
      + + + +
        +
      • +

        hasNoSky

        +
        public boolean hasNoSky
        +
      • +
      + + + +
        +
      • +

        lightBrightnessTable

        +
        public float[] lightBrightnessTable
        +
      • +
      + + + +
        +
      • +

        dimensionId

        +
        public int dimensionId
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        WorldProvider

        +
        public WorldProvider()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        registerWorld

        +
        public final void registerWorld(World p_76558_1_)
        +
      • +
      + + + +
        +
      • +

        generateLightBrightnessTable

        +
        protected void generateLightBrightnessTable()
        +
      • +
      + + + +
        +
      • +

        registerWorldChunkManager

        +
        protected void registerWorldChunkManager()
        +
      • +
      + + + +
        +
      • +

        createChunkGenerator

        +
        public IChunkProvider createChunkGenerator()
        +
      • +
      + + + +
        +
      • +

        canCoordinateBeSpawn

        +
        public boolean canCoordinateBeSpawn(int p_76566_1_,
        +                           int p_76566_2_)
        +
      • +
      + + + +
        +
      • +

        calculateCelestialAngle

        +
        public float calculateCelestialAngle(long p_76563_1_,
        +                            float p_76563_3_)
        +
      • +
      + + + +
        +
      • +

        getMoonPhase

        +
        public int getMoonPhase(long p_76559_1_)
        +
      • +
      + + + +
        +
      • +

        isSurfaceWorld

        +
        public boolean isSurfaceWorld()
        +
      • +
      + + + +
        +
      • +

        calcSunriseSunsetColors

        +
        public float[] calcSunriseSunsetColors(float p_76560_1_,
        +                              float p_76560_2_)
        +
      • +
      + + + +
        +
      • +

        getFogColor

        +
        public Vec3 getFogColor(float p_76562_1_,
        +               float p_76562_2_)
        +
      • +
      + + + +
        +
      • +

        canRespawnHere

        +
        public boolean canRespawnHere()
        +
      • +
      + + + +
        +
      • +

        getProviderForDimension

        +
        public static WorldProvider getProviderForDimension(int p_76570_0_)
        +
      • +
      + + + +
        +
      • +

        getCloudHeight

        +
        public float getCloudHeight()
        +
      • +
      + + + +
        +
      • +

        isSkyColored

        +
        public boolean isSkyColored()
        +
      • +
      + + + +
        +
      • +

        getEntrancePortalLocation

        +
        public ChunkCoordinates getEntrancePortalLocation()
        +
      • +
      + + + +
        +
      • +

        getAverageGroundLevel

        +
        public int getAverageGroundLevel()
        +
      • +
      + + + +
        +
      • +

        getWorldHasVoidParticles

        +
        public boolean getWorldHasVoidParticles()
        +
      • +
      + + + +
        +
      • +

        getVoidFogYFactor

        +
        public double getVoidFogYFactor()
        +
      • +
      + + + +
        +
      • +

        doesXZShowFog

        +
        public boolean doesXZShowFog(int p_76568_1_,
        +                    int p_76568_2_)
        +
      • +
      + + + +
        +
      • +

        getDimensionName

        +
        public abstract java.lang.String getDimensionName()
        +
      • +
      + + + +
        +
      • +

        setDimension

        +
        public void setDimension(int dim)
        +
        Sets the providers current dimension ID, used in default getSaveFolder() + Added to allow default providers to be registered for multiple dimensions.
        +
        Parameters:
        dim - Dimension ID
        +
      • +
      + + + +
        +
      • +

        getSaveFolder

        +
        public java.lang.String getSaveFolder()
        +
        Returns the sub-folder of the world folder that this WorldProvider saves to. + EXA: DIM1, DIM-1
        +
        Returns:
        The sub-folder name to save this world's chunks to.
        +
      • +
      + + + +
        +
      • +

        getWelcomeMessage

        +
        public java.lang.String getWelcomeMessage()
        +
        A message to display to the user when they transfer to this dimension.
        +
        Returns:
        The message to be displayed
        +
      • +
      + + + +
        +
      • +

        getDepartMessage

        +
        public java.lang.String getDepartMessage()
        +
        A Message to display to the user when they transfer out of this dismension.
        +
        Returns:
        The message to be displayed
        +
      • +
      + + + +
        +
      • +

        getMovementFactor

        +
        public double getMovementFactor()
        +
        The dimensions movement factor. Relative to normal overworld. + It is applied to the players position when they transfer dimensions. + Exa: Nether movement is 8.0
        +
        Returns:
        The movement factor
        +
      • +
      + + + + + + + +
        +
      • +

        setSkyRenderer

        +
        public void setSkyRenderer(IRenderHandler skyRenderer)
        +
      • +
      + + + + + + + +
        +
      • +

        setCloudRenderer

        +
        public void setCloudRenderer(IRenderHandler renderer)
        +
      • +
      + + + +
        +
      • +

        getWeatherRenderer

        +
        public IRenderHandler getWeatherRenderer()
        +
      • +
      + + + +
        +
      • +

        setWeatherRenderer

        +
        public void setWeatherRenderer(IRenderHandler renderer)
        +
      • +
      + + + +
        +
      • +

        getRandomizedSpawnPoint

        +
        public ChunkCoordinates getRandomizedSpawnPoint()
        +
      • +
      + + + +
        +
      • +

        shouldMapSpin

        +
        public boolean shouldMapSpin(java.lang.String entity,
        +                    double x,
        +                    double y,
        +                    double z)
        +
        Determine if the cusor on the map should 'spin' when rendered, like it does for the player in the nether.
        +
        Parameters:
        entity - The entity holding the map, playername, or frame-ENTITYID
        x - X Position
        y - Y Position
        z - Z Postion
        +
        Returns:
        True to 'spin' the cursor
        +
      • +
      + + + +
        +
      • +

        getRespawnDimension

        +
        public int getRespawnDimension(EntityPlayerMP player)
        +
        Determines the dimension the player will be respawned in, typically this brings them back to the overworld.
        +
        Parameters:
        player - The player that is respawning
        +
        Returns:
        The dimension to respawn the player in
        +
      • +
      + + + +
        +
      • +

        getBiomeGenForCoords

        +
        public BiomeGenBase getBiomeGenForCoords(int x,
        +                                int z)
        +
      • +
      + + + +
        +
      • +

        isDaytime

        +
        public boolean isDaytime()
        +
      • +
      + + + +
        +
      • +

        getSunBrightnessFactor

        +
        public float getSunBrightnessFactor(float par1)
        +
        The current sun brightness factor for this dimension. + 0.0f means no light at all, and 1.0f means maximum sunlight. + This will be used for the "calculateSkylightSubtracted" + which is for Sky light value calculation.
        +
        Returns:
        The current brightness factor
        +
      • +
      + + + +
        +
      • +

        getCurrentMoonPhaseFactor

        +
        public float getCurrentMoonPhaseFactor()
        +
        Calculates the current moon phase factor. + This factor is effective for slimes. + (This method do not affect the moon rendering)
        +
      • +
      + + + +
        +
      • +

        getSkyColor

        +
        public Vec3 getSkyColor(Entity cameraEntity,
        +               float partialTicks)
        +
      • +
      + + + +
        +
      • +

        drawClouds

        +
        public Vec3 drawClouds(float partialTicks)
        +
      • +
      + + + +
        +
      • +

        getSunBrightness

        +
        public float getSunBrightness(float par1)
        +
        Gets the Sun Brightness for rendering sky.
        +
      • +
      + + + +
        +
      • +

        getStarBrightness

        +
        public float getStarBrightness(float par1)
        +
        Gets the Star Brightness for rendering sky.
        +
      • +
      + + + +
        +
      • +

        setAllowedSpawnTypes

        +
        public void setAllowedSpawnTypes(boolean allowHostile,
        +                        boolean allowPeaceful)
        +
      • +
      + + + +
        +
      • +

        calculateInitialWeather

        +
        public void calculateInitialWeather()
        +
      • +
      + + + +
        +
      • +

        updateWeather

        +
        public void updateWeather()
        +
      • +
      + + + +
        +
      • +

        canBlockFreeze

        +
        public boolean canBlockFreeze(int x,
        +                     int y,
        +                     int z,
        +                     boolean byWater)
        +
      • +
      + + + +
        +
      • +

        canSnowAt

        +
        public boolean canSnowAt(int x,
        +                int y,
        +                int z,
        +                boolean checkLight)
        +
      • +
      + + + +
        +
      • +

        setWorldTime

        +
        public void setWorldTime(long time)
        +
      • +
      + + + +
        +
      • +

        getSeed

        +
        public long getSeed()
        +
      • +
      + + + +
        +
      • +

        getWorldTime

        +
        public long getWorldTime()
        +
      • +
      + + + + + + + +
        +
      • +

        setSpawnPoint

        +
        public void setSpawnPoint(int x,
        +                 int y,
        +                 int z)
        +
      • +
      + + + +
        +
      • +

        canMineBlock

        +
        public boolean canMineBlock(EntityPlayer player,
        +                   int x,
        +                   int y,
        +                   int z)
        +
      • +
      + + + +
        +
      • +

        isBlockHighHumidity

        +
        public boolean isBlockHighHumidity(int x,
        +                          int y,
        +                          int z)
        +
      • +
      + + + +
        +
      • +

        getHeight

        +
        public int getHeight()
        +
      • +
      + + + +
        +
      • +

        getActualHeight

        +
        public int getActualHeight()
        +
      • +
      + + + +
        +
      • +

        getHorizon

        +
        public double getHorizon()
        +
      • +
      + + + +
        +
      • +

        resetRainAndThunder

        +
        public void resetRainAndThunder()
        +
      • +
      + + + +
        +
      • +

        canDoLightning

        +
        public boolean canDoLightning(Chunk chunk)
        +
      • +
      + + + +
        +
      • +

        canDoRainSnowIce

        +
        public boolean canDoRainSnowIce(Chunk chunk)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + -- cgit v1.2.3