001    package net.minecraft.src;
002    
003    public interface IWorldAccess
004    {
005        /**
006         * Will mark the block and neighbors that their renderers need an update (could be all the same renderer
007         * potentially) Args: x, y, z
008         */
009        void markBlockNeedsUpdate(int var1, int var2, int var3);
010    
011        /**
012         * As of mc 1.2.3 this method has exactly the same signature and does exactly the same as markBlockNeedsUpdate
013         */
014        void markBlockNeedsUpdate2(int var1, int var2, int var3);
015    
016        /**
017         * Called across all registered IWorldAccess instances when a block range is invalidated. Args: minX, minY, minZ,
018         * maxX, maxY, maxZ
019         */
020        void markBlockRangeNeedsUpdate(int var1, int var2, int var3, int var4, int var5, int var6);
021    
022        /**
023         * Plays the specified sound. Arg: soundName, x, y, z, volume, pitch
024         */
025        void playSound(String var1, double var2, double var4, double var6, float var8, float var9);
026    
027        /**
028         * Spawns a particle. Arg: particleType, x, y, z, velX, velY, velZ
029         */
030        void spawnParticle(String var1, double var2, double var4, double var6, double var8, double var10, double var12);
031    
032        /**
033         * Start the skin for this entity downloading, if necessary, and increment its reference counter
034         */
035        void obtainEntitySkin(Entity var1);
036    
037        /**
038         * Decrement the reference counter for this entity's skin image data
039         */
040        void releaseEntitySkin(Entity var1);
041    
042        /**
043         * Plays the specified record. Arg: recordName, x, y, z
044         */
045        void playRecord(String var1, int var2, int var3, int var4);
046    
047        /**
048         * Plays a pre-canned sound effect along with potentially auxiliary data-driven one-shot behaviour (particles, etc).
049         */
050        void playAuxSFX(EntityPlayer var1, int var2, int var3, int var4, int var5, int var6);
051    
052        /**
053         * Starts (or continues) destroying a block with given ID at the given coordinates for the given partially destroyed
054         * value
055         */
056        void destroyBlockPartially(int var1, int var2, int var3, int var4, int var5);
057    }