001 package net.minecraft.world;
002
003 import net.minecraft.entity.Entity;
004 import net.minecraft.entity.player.EntityPlayer;
005
006 public interface IWorldAccess
007 {
008 /**
009 * On the client, re-renders the block. On the server, sends the block to the client (which will re-render it),
010 * including the tile entity description packet if applicable. Args: x, y, z
011 */
012 void markBlockForUpdate(int var1, int var2, int var3);
013
014 /**
015 * On the client, re-renders this block. On the server, does nothing. Used for lighting updates.
016 */
017 void markBlockForRenderUpdate(int var1, int var2, int var3);
018
019 /**
020 * On the client, re-renders all blocks in this range, inclusive. On the server, does nothing. Args: min x, min y,
021 * min z, max x, max y, max z
022 */
023 void markBlockRangeForRenderUpdate(int var1, int var2, int var3, int var4, int var5, int var6);
024
025 /**
026 * Plays the specified sound. Arg: soundName, x, y, z, volume, pitch
027 */
028 void playSound(String var1, double var2, double var4, double var6, float var8, float var9);
029
030 void func_85102_a(EntityPlayer var1, String var2, double var3, double var5, double var7, float var9, float var10);
031
032 /**
033 * Spawns a particle. Arg: particleType, x, y, z, velX, velY, velZ
034 */
035 void spawnParticle(String var1, double var2, double var4, double var6, double var8, double var10, double var12);
036
037 /**
038 * Start the skin for this entity downloading, if necessary, and increment its reference counter
039 */
040 void obtainEntitySkin(Entity var1);
041
042 /**
043 * Decrement the reference counter for this entity's skin image data
044 */
045 void releaseEntitySkin(Entity var1);
046
047 /**
048 * Plays the specified record. Arg: recordName, x, y, z
049 */
050 void playRecord(String var1, int var2, int var3, int var4);
051
052 void broadcastSound(int var1, int var2, int var3, int var4, int var5);
053
054 /**
055 * Plays a pre-canned sound effect along with potentially auxiliary data-driven one-shot behaviour (particles, etc).
056 */
057 void playAuxSFX(EntityPlayer var1, int var2, int var3, int var4, int var5, int var6);
058
059 /**
060 * Starts (or continues) destroying a block with given ID at the given coordinates for the given partially destroyed
061 * value
062 */
063 void destroyBlockPartially(int var1, int var2, int var3, int var4, int var5);
064 }