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