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 /**
031 * Plays sound to all near players except the player reference given
032 */
033 void playSoundToNearExcept(EntityPlayer var1, String var2, double var3, double var5, double var7, float var9, float var10);
034
035 /**
036 * Spawns a particle. Arg: particleType, x, y, z, velX, velY, velZ
037 */
038 void spawnParticle(String var1, double var2, double var4, double var6, double var8, double var10, double var12);
039
040 /**
041 * Start the skin for this entity downloading, if necessary, and increment its reference counter
042 */
043 void obtainEntitySkin(Entity var1);
044
045 /**
046 * Decrement the reference counter for this entity's skin image data
047 */
048 void releaseEntitySkin(Entity var1);
049
050 /**
051 * Plays the specified record. Arg: recordName, x, y, z
052 */
053 void playRecord(String var1, int var2, int var3, int var4);
054
055 void broadcastSound(int var1, int var2, int var3, int var4, int var5);
056
057 /**
058 * Plays a pre-canned sound effect along with potentially auxiliary data-driven one-shot behaviour (particles, etc).
059 */
060 void playAuxSFX(EntityPlayer var1, int var2, int var3, int var4, int var5, int var6);
061
062 /**
063 * Starts (or continues) destroying a block with given ID at the given coordinates for the given partially destroyed
064 * value
065 */
066 void destroyBlockPartially(int var1, int var2, int var3, int var4, int var5);
067 }