Class World

    • Field Detail

      • scheduledUpdatesAreImmediate

        public boolean scheduledUpdatesAreImmediate
      • loadedEntityList

        public java.util.List<Entity> loadedEntityList
      • loadedTileEntityList

        public java.util.List<TileEntity> loadedTileEntityList
      • playerEntities

        public java.util.List<Player> playerEntities
      • weatherEffects

        public java.util.List<Entity> weatherEffects
      • skylightSubtracted

        public int skylightSubtracted
      • updateLCG

        protected int updateLCG
      • prevRainingStrength

        protected float prevRainingStrength
      • rainingStrength

        protected float rainingStrength
      • prevThunderingStrength

        protected float prevThunderingStrength
      • thunderingStrength

        protected float thunderingStrength
      • lastLightningBolt

        protected int lastLightningBolt
      • lightningFlash

        public int lightningFlash
      • editingBlocks

        public boolean editingBlocks
      • autosavePeriod

        protected int autosavePeriod
      • difficultySetting

        public int difficultySetting
      • rand

        public java.util.Random rand
      • isNewWorld

        public boolean isNewWorld
      • worldAccesses

        protected java.util.List<IWorldAccess> worldAccesses
      • findingSpawnPoint

        public boolean findingSpawnPoint
      • spawnHostileMobs

        protected boolean spawnHostileMobs
      • spawnPeacefulMobs

        protected boolean spawnPeacefulMobs
      • isRemote

        public boolean isRemote
      • conservativeLightingUpdate

        public boolean conservativeLightingUpdate
    • Method Detail

      • createChunkProvider

        protected IChunkProvider createChunkProvider()
      • generateSpawnPoint

        protected void generateSpawnPoint()
      • getEntrancePortalLocation

        public ChunkCoordinates getEntrancePortalLocation()
      • setSpawnLocation

        @Client
        public void setSpawnLocation()
      • getFirstUncoveredBlock

        public int getFirstUncoveredBlock​(int var1,
                                          int var2)
      • func_6464_c

        @Client
        public void func_6464_c()
      • spawnPlayerWithLoadedChunks

        @Client
        public void spawnPlayerWithLoadedChunks​(Player var1)
      • saveWorld

        public void saveWorld​(boolean var1,
                              IProgressUpdate var2)
      • quickSaveWorld

        @Client
        public @net.minecraft.modding.api.Side.Client boolean quickSaveWorld​(int var1)
      • getBlockId

        public int getBlockId​(int var1,
                              int var2,
                              int var3)
        Specified by:
        getBlockId in interface IBlockAccess
      • func_48462_d

        public int func_48462_d​(int var1,
                                int var2,
                                int var3)
      • isAirBlock

        public boolean isAirBlock​(int var1,
                                  int var2,
                                  int var3)
        Specified by:
        isAirBlock in interface IBlockAccess
      • func_48084_h

        public boolean func_48084_h​(int i,
                                    int j,
                                    int k)
      • blockExists

        public boolean blockExists​(int var1,
                                   int var2,
                                   int var3)
      • doChunksNearChunkExist

        public boolean doChunksNearChunkExist​(int var1,
                                              int var2,
                                              int var3,
                                              int var4)
      • checkChunksExist

        public boolean checkChunksExist​(int var1,
                                        int var2,
                                        int var3,
                                        int var4,
                                        int var5,
                                        int var6)
      • getChunkFromBlockCoords

        public Chunk getChunkFromBlockCoords​(int var1,
                                             int var2)
      • getChunkFromChunkCoords

        public Chunk getChunkFromChunkCoords​(int var1,
                                             int var2)
      • setBlockAndMetadata

        public boolean setBlockAndMetadata​(int var1,
                                           int var2,
                                           int var3,
                                           int var4,
                                           int var5)
      • setBlock

        public boolean setBlock​(int var1,
                                int var2,
                                int var3,
                                int var4)
      • getBlockMetadata

        public int getBlockMetadata​(int var1,
                                    int var2,
                                    int var3)
        Specified by:
        getBlockMetadata in interface IBlockAccess
      • setBlockMetadataWithNotify

        public void setBlockMetadataWithNotify​(int var1,
                                               int var2,
                                               int var3,
                                               int var4)
      • setBlockMetadata

        public boolean setBlockMetadata​(int var1,
                                        int var2,
                                        int var3,
                                        int var4)
      • setBlockWithNotify

        public boolean setBlockWithNotify​(int var1,
                                          int var2,
                                          int var3,
                                          int var4)
      • setBlockAndMetadataWithNotify

        public boolean setBlockAndMetadataWithNotify​(int var1,
                                                     int var2,
                                                     int var3,
                                                     int var4,
                                                     int var5)
      • markBlockNeedsUpdate

        public void markBlockNeedsUpdate​(int var1,
                                         int var2,
                                         int var3)
      • notifyBlockChange

        public void notifyBlockChange​(int var1,
                                      int var2,
                                      int var3,
                                      int var4)
      • markBlocksDirtyVertical

        public void markBlocksDirtyVertical​(int var1,
                                            int var2,
                                            int var3,
                                            int var4)
      • markBlockAsNeedsUpdate

        public void markBlockAsNeedsUpdate​(int var1,
                                           int var2,
                                           int var3)
      • markBlocksDirty

        public void markBlocksDirty​(int var1,
                                    int var2,
                                    int var3,
                                    int var4,
                                    int var5,
                                    int var6)
      • notifyBlocksOfNeighborChange

        public void notifyBlocksOfNeighborChange​(int var1,
                                                 int var2,
                                                 int var3,
                                                 int var4)
      • canBlockSeeTheSky

        public boolean canBlockSeeTheSky​(int var1,
                                         int var2,
                                         int var3)
      • getFullBlockLightValue

        public int getFullBlockLightValue​(int var1,
                                          int var2,
                                          int var3)
      • getBlockLightValue

        public int getBlockLightValue​(int var1,
                                      int var2,
                                      int var3)
      • getBlockLightValue_do

        public int getBlockLightValue_do​(int var1,
                                         int var2,
                                         int var3,
                                         boolean var4)
      • getHeightValue

        public int getHeightValue​(int var1,
                                  int var2)
      • getSkyBlockTypeBrightness

        @Client
        public @net.minecraft.modding.api.Side.Client int getSkyBlockTypeBrightness​(EnumSkyBlock var1,
                                                                                    int var2,
                                                                                    int var3,
                                                                                    int var4)
      • getSavedLightValue

        public int getSavedLightValue​(EnumSkyBlock var1,
                                      int var2,
                                      int var3,
                                      int var4)
      • setLightValue

        public void setLightValue​(EnumSkyBlock var1,
                                  int var2,
                                  int var3,
                                  int var4,
                                  int var5)
      • func_48464_p

        public void func_48464_p​(int var1,
                                 int var2,
                                 int var3)
      • getBrightness

        @Client
        public @net.minecraft.modding.api.Side.Client float getBrightness​(int var1,
                                                                          int var2,
                                                                          int var3,
                                                                          int var4)
        Specified by:
        getBrightness in interface IBlockAccess
      • getLightBrightness

        public float getLightBrightness​(int var1,
                                        int var2,
                                        int var3)
        Specified by:
        getLightBrightness in interface IBlockAccess
      • isDaytime

        public boolean isDaytime()
      • playSoundAtEntity

        public void playSoundAtEntity​(Entity var1,
                                      java.lang.String var2,
                                      float var3,
                                      float var4)
      • playSoundEffect

        public void playSoundEffect​(double var1,
                                    double var3,
                                    double var5,
                                    java.lang.String var7,
                                    float var8,
                                    float var9)
      • playRecord

        public void playRecord​(java.lang.String var1,
                               int var2,
                               int var3,
                               int var4)
      • spawnParticle

        public void spawnParticle​(java.lang.String s,
                                  double d,
                                  double d1,
                                  double d2,
                                  double d3,
                                  double d4,
                                  double d5,
                                  boolean alwaysRender)
      • spawnParticle

        public void spawnParticle​(java.lang.String var1,
                                  double var2,
                                  double var4,
                                  double var6,
                                  double var8,
                                  double var10,
                                  double var12)
      • addWeatherEffect

        public boolean addWeatherEffect​(Entity var1)
      • spawnEntityInWorld

        public boolean spawnEntityInWorld​(Entity var1)
      • obtainEntitySkin

        protected void obtainEntitySkin​(Entity var1)
      • releaseEntitySkin

        protected void releaseEntitySkin​(Entity var1)
      • setEntityDead

        public void setEntityDead​(Entity var1)
      • removePlayer

        public void removePlayer​(Entity var1)
      • addWorldAccess

        public void addWorldAccess​(IWorldAccess var1)
      • calculateSkylightSubtracted

        public int calculateSkylightSubtracted​(float var1)
      • func_35464_b

        @Client
        public @net.minecraft.modding.api.Side.Client float func_35464_b​(float var1)
      • getCelestialAngle

        public float getCelestialAngle​(float var1)
      • getMoonPhase

        @Client
        public @net.minecraft.modding.api.Side.Client int getMoonPhase​(float var1)
      • getCelestialAngleRadians

        @Client
        public @net.minecraft.modding.api.Side.Client float getCelestialAngleRadians​(float var1)
      • getPrecipitationHeight

        public int getPrecipitationHeight​(int var1,
                                          int var2)
      • getTopSolidOrLiquidBlock

        public int getTopSolidOrLiquidBlock​(int var1,
                                            int var2)
      • getStarBrightness

        @Client
        public @net.minecraft.modding.api.Side.Client float getStarBrightness​(float var1)
      • scheduleBlockUpdate

        public void scheduleBlockUpdate​(int var1,
                                        int var2,
                                        int var3,
                                        int var4,
                                        int var5)
      • scheduleBlockUpdateFromLoad

        public void scheduleBlockUpdateFromLoad​(int var1,
                                                int var2,
                                                int var3,
                                                int var4,
                                                int var5)
      • updateEntities

        public void updateEntities()
      • addTileEntity

        public void addTileEntity​(java.util.Collection<TileEntity> var1)
      • updateEntity

        public void updateEntity​(Entity var1)
      • updateEntityWithOptionalForce

        public void updateEntityWithOptionalForce​(Entity var1,
                                                  boolean var2)
      • checkIfAABBIsClear

        public boolean checkIfAABBIsClear​(AxisAlignedBB var1)
      • isAABBEmpty

        public boolean isAABBEmpty​(AxisAlignedBB var1)
      • isAnyLiquid

        public boolean isAnyLiquid​(AxisAlignedBB var1)
      • isBoundingBoxBurning

        public boolean isBoundingBoxBurning​(AxisAlignedBB var1)
      • createExplosion

        public Explosion createExplosion​(Entity var1,
                                         double var2,
                                         double var4,
                                         double var6,
                                         float var8)
      • newExplosion

        public Explosion newExplosion​(Entity var1,
                                      double var2,
                                      double var4,
                                      double var6,
                                      float var8,
                                      boolean var9)
      • getBlockDensity

        public float getBlockDensity​(Vec3D par1Vec3D,
                                     AxisAlignedBB var2)
      • func_48457_a

        public boolean func_48457_a​(Player var1,
                                    int var2,
                                    int var3,
                                    int var4,
                                    int var5)
      • func_4085_a

        @Client
        public <T extends Entity> T func_4085_a​(java.lang.Class<T> var1)
      • getDebugLoadedEntities

        @Client
        public @Client java.lang.String getDebugLoadedEntities()
      • getProviderName

        @Client
        public @Client java.lang.String getProviderName()
      • setBlockTileEntity

        public void setBlockTileEntity​(int var1,
                                       int var2,
                                       int var3,
                                       TileEntity var4)
      • removeBlockTileEntity

        public void removeBlockTileEntity​(int var1,
                                          int var2,
                                          int var3)
      • markTileEntityForDespawn

        public void markTileEntityForDespawn​(TileEntity var1)
      • isBlockOpaqueCube

        public boolean isBlockOpaqueCube​(int var1,
                                         int var2,
                                         int var3)
        Specified by:
        isBlockOpaqueCube in interface IBlockAccess
      • isBlockNormalCube

        public boolean isBlockNormalCube​(int var1,
                                         int var2,
                                         int var3)
        Specified by:
        isBlockNormalCube in interface IBlockAccess
      • isBlockNormalCubeDefault

        public boolean isBlockNormalCubeDefault​(int var1,
                                                int var2,
                                                int var3,
                                                boolean var4)
      • calculateInitialSkylight

        public void calculateInitialSkylight()
      • setAllowedSpawnTypes

        public void setAllowedSpawnTypes​(boolean var1,
                                         boolean var2)
      • tick

        public void tick()
      • isDemoExpired

        @Client
        public @net.minecraft.modding.api.Side.Client boolean isDemoExpired()
      • outputDemoReminder

        @Client
        public void outputDemoReminder()
      • updateWeather

        protected void updateWeather()
      • commandToggleDownfall

        public void commandToggleDownfall()
      • func_48461_r

        protected void func_48461_r()
      • func_48458_a

        protected void func_48458_a​(int var1,
                                    int var2,
                                    Chunk var3)
      • tickBlocksAndAmbiance

        protected void tickBlocksAndAmbiance()
      • isBlockHydratedDirectly

        public boolean isBlockHydratedDirectly​(int var1,
                                               int var2,
                                               int var3)
      • isBlockHydratedIndirectly

        public boolean isBlockHydratedIndirectly​(int var1,
                                                 int var2,
                                                 int var3)
      • isBlockHydrated

        public boolean isBlockHydrated​(int var1,
                                       int var2,
                                       int var3,
                                       boolean var4)
      • canSnowAt

        public boolean canSnowAt​(int var1,
                                 int var2,
                                 int var3)
      • updateAllLightTypes

        public void updateAllLightTypes​(int var1,
                                        int var2,
                                        int var3)
      • updateLightByType

        public void updateLightByType​(EnumSkyBlock var1,
                                      int var2,
                                      int var3,
                                      int var4)
      • tickUpdates

        public boolean tickUpdates​(boolean var1)
      • getPendingBlockUpdates

        public java.util.List<NextTickListEntry> getPendingBlockUpdates​(Chunk var1,
                                                                        boolean var2)
      • randomDisplayUpdates

        @Client
        public void randomDisplayUpdates​(int var1,
                                         int var2,
                                         int var3)
      • getEntitiesWithinAABBExcludingEntity

        public java.util.List<Entity> getEntitiesWithinAABBExcludingEntity​(Entity var1,
                                                                           AxisAlignedBB var2)
      • getEntitiesWithinAABB

        public <T extends Entity> java.util.List<T> getEntitiesWithinAABB​(java.lang.Class<T> var1,
                                                                          AxisAlignedBB var2)
      • findNearestEntityWithinAABB

        public <T extends Entity> T findNearestEntityWithinAABB​(java.lang.Class<T> var1,
                                                                AxisAlignedBB var2,
                                                                Entity var3)
      • updateTileEntityChunkAndDoNothing

        public void updateTileEntityChunkAndDoNothing​(int var1,
                                                      int var2,
                                                      int var3,
                                                      TileEntity var4)
      • countEntities

        public int countEntities​(java.lang.Class<? extends Entity> var1)
      • addLoadedEntities

        public void addLoadedEntities​(java.util.List var1)
      • unloadEntities

        public void unloadEntities​(java.util.List var1)
      • dropOldChunks

        @Client
        public void dropOldChunks()
      • canBlockBePlacedAt

        public boolean canBlockBePlacedAt​(int var1,
                                          int var2,
                                          int var3,
                                          int var4,
                                          boolean var5,
                                          int var6)
      • getPathEntityToEntity

        public PathEntity getPathEntityToEntity​(Entity var1,
                                                Entity var2,
                                                float var3,
                                                boolean var4,
                                                boolean var5,
                                                boolean var6,
                                                boolean var7)
      • getEntityPathToXYZ

        public PathEntity getEntityPathToXYZ​(Entity var1,
                                             int var2,
                                             int var3,
                                             int var4,
                                             float var5,
                                             boolean var6,
                                             boolean var7,
                                             boolean var8,
                                             boolean var9)
      • isBlockProvidingPowerTo

        public boolean isBlockProvidingPowerTo​(int var1,
                                               int var2,
                                               int var3,
                                               int var4)
      • isBlockGettingPowered

        public boolean isBlockGettingPowered​(int var1,
                                             int var2,
                                             int var3)
      • isBlockIndirectlyProvidingPowerTo

        public boolean isBlockIndirectlyProvidingPowerTo​(int var1,
                                                         int var2,
                                                         int var3,
                                                         int var4)
      • isBlockIndirectlyGettingPowered

        public boolean isBlockIndirectlyGettingPowered​(int var1,
                                                       int var2,
                                                       int var3)
      • getClosestPlayerToEntity

        public Player getClosestPlayerToEntity​(Entity var1,
                                               double var2)
      • getClosestPlayer

        public Player getClosestPlayer​(double var1,
                                       double var3,
                                       double var5,
                                       double var7)
      • func_48456_a

        public Player func_48456_a​(double var1,
                                   double var3,
                                   double var5)
      • getClosestVulnerablePlayerToEntity

        public Player getClosestVulnerablePlayerToEntity​(Entity var1,
                                                         double var2)
      • getClosestVulnerablePlayer

        public Player getClosestVulnerablePlayer​(double var1,
                                                 double var3,
                                                 double var5,
                                                 double var7)
      • getPlayerEntityByName

        public Player getPlayerEntityByName​(java.lang.String var1)
      • sendQuittingDisconnectingPacket

        @Client
        public void sendQuittingDisconnectingPacket()
      • checkSessionLock

        public void checkSessionLock()
      • setWorldTime

        public void setWorldTime​(long var1)
      • advanceTime

        public void advanceTime​(long var1)
      • getSeed

        public long getSeed()
      • getWorldTime

        public long getWorldTime()
      • joinEntityInSurroundings

        @Client
        public void joinEntityInSurroundings​(Entity var1)
      • canMineBlock

        public boolean canMineBlock​(Player var1,
                                    int var2,
                                    int var3,
                                    int i)
      • setEntityState

        public void setEntityState​(Entity entity,
                                   byte byte0)
      • updateEntityList

        @Client
        public void updateEntityList()
      • playNoteAt

        public void playNoteAt​(int var1,
                               int var2,
                               int var3,
                               int var4,
                               int var5)
      • getWorldInfo

        public WorldInfo getWorldInfo()
      • updateAllPlayersSleepingFlag

        public void updateAllPlayersSleepingFlag()
      • wakeUpAllPlayers

        protected void wakeUpAllPlayers()
      • isAllPlayersFullyAsleep

        public boolean isAllPlayersFullyAsleep()
      • getWeightedThunderStrength

        public float getWeightedThunderStrength​(float var1)
      • getRainStrength

        public float getRainStrength​(float var1)
      • setRainStrength

        @Client
        public void setRainStrength​(float var1)
      • isThundering

        public boolean isThundering()
      • isRaining

        public boolean isRaining()
      • canLightningStrikeAt

        public boolean canLightningStrikeAt​(int var1,
                                            int var2,
                                            int var3)
      • isBlockHighHumidity

        public boolean isBlockHighHumidity​(int var1,
                                           int var2,
                                           int var3)
      • setItemData

        public void setItemData​(java.lang.String var1,
                                WorldSavedData var2)
      • loadItemData

        public WorldSavedData loadItemData​(java.lang.Class<MapData> var1,
                                           java.lang.String var2)
      • getUniqueDataId

        public int getUniqueDataId​(java.lang.String var1)
      • playAuxSFX

        public void playAuxSFX​(int var1,
                               int var2,
                               int var3,
                               int var4,
                               int var5)
      • playAuxSFXAtEntity

        public void playAuxSFXAtEntity​(Player var1,
                                       int var2,
                                       int var3,
                                       int var4,
                                       int var5,
                                       int var6)
      • setRandomSeed

        public java.util.Random setRandomSeed​(int var1,
                                              int var2,
                                              int var3)
      • updatingLighting

        public boolean updatingLighting()
      • findClosestStructure

        public ChunkPosition findClosestStructure​(java.lang.String var1,
                                                  int var2,
                                                  int var3,
                                                  int var4)
      • getSeaLevel

        @Client
        public @net.minecraft.modding.api.Side.Client double getSeaLevel()