public void func_72915_b(EnumSkyBlock p_72915_1_, int p_72915_2_, int p_72915_3_, int p_72915_4_, int p_72915_5_) { if(p_72915_2_ >= -30000000 && p_72915_4_ >= -30000000 && p_72915_2_ < 30000000 && p_72915_4_ < 30000000) { if(p_72915_3_ >= 0) { if(p_72915_3_ < 256) { if(this.func_72916_c(p_72915_2_ >> 4, p_72915_4_ >> 4)) { Chunk var6 = this.func_72964_e(p_72915_2_ >> 4, p_72915_4_ >> 4); var6.func_76633_a(p_72915_1_, p_72915_2_ & 15, p_72915_3_, p_72915_4_ & 15, p_72915_5_); for(int var7 = 0; var7 < this.field_73021_x.size(); ++var7) { ((IWorldAccess)this.field_73021_x.get(var7)).func_72711_b(p_72915_2_, p_72915_3_, p_72915_4_); } } } } } }
public void func_72889_a(EntityPlayer p_72889_1_, int p_72889_2_, int p_72889_3_, int p_72889_4_, int p_72889_5_, int p_72889_6_) { try { for(int var7 = 0; var7 < this.field_73021_x.size(); ++var7) { ((IWorldAccess)this.field_73021_x.get(var7)).func_72706_a(p_72889_1_, p_72889_2_, p_72889_3_, p_72889_4_, p_72889_5_, p_72889_6_); } } catch (Throwable var10) { CrashReport var8 = CrashReport.func_85055_a(var10, "Playing level event"); CrashReportCategory var9 = var8.func_85058_a("Level event being played"); var9.func_71507_a("Block coordinates", CrashReportCategory.func_85071_a(p_72889_3_, p_72889_4_, p_72889_5_)); var9.func_71507_a("Event source", p_72889_1_); var9.func_71507_a("Event type", Integer.valueOf(p_72889_2_)); var9.func_71507_a("Event data", Integer.valueOf(p_72889_6_)); throw new ReportedException(var8); } }
public void func_72956_a(Entity p_72956_1_, String p_72956_2_, float p_72956_3_, float p_72956_4_) { if(p_72956_1_ != null && p_72956_2_ != null) { for(int var5 = 0; var5 < this.field_73021_x.size(); ++var5) { ((IWorldAccess)this.field_73021_x.get(var5)).func_72704_a(p_72956_2_, p_72956_1_.field_70165_t, p_72956_1_.field_70163_u - (double)p_72956_1_.field_70129_M, p_72956_1_.field_70161_v, p_72956_3_, p_72956_4_); } } }
public void func_85173_a(EntityPlayer p_85173_1_, String p_85173_2_, float p_85173_3_, float p_85173_4_) { if(p_85173_1_ != null && p_85173_2_ != null) { for(int var5 = 0; var5 < this.field_73021_x.size(); ++var5) { ((IWorldAccess)this.field_73021_x.get(var5)).func_85102_a(p_85173_1_, p_85173_2_, p_85173_1_.field_70165_t, p_85173_1_.field_70163_u - (double)p_85173_1_.field_70129_M, p_85173_1_.field_70161_v, p_85173_3_, p_85173_4_); } } }
public void func_72908_a(double p_72908_1_, double p_72908_3_, double p_72908_5_, String p_72908_7_, float p_72908_8_, float p_72908_9_) { if(p_72908_7_ != null) { for(int var10 = 0; var10 < this.field_73021_x.size(); ++var10) { ((IWorldAccess)this.field_73021_x.get(var10)).func_72704_a(p_72908_7_, p_72908_1_, p_72908_3_, p_72908_5_, p_72908_8_, p_72908_9_); } } }
public void func_72888_f(int p_72888_1_, int p_72888_2_, int p_72888_3_, int p_72888_4_, int p_72888_5_) { for(int var6 = 0; var6 < this.field_73021_x.size(); ++var6) { IWorldAccess var7 = (IWorldAccess)this.field_73021_x.get(var6); var7.func_72705_a(p_72888_1_, p_72888_2_, p_72888_3_, p_72888_4_, p_72888_5_); } }
public void addWorldAccess(final IWorldAccess par1IWorldAccess) { this.world.addWorldAccess(par1IWorldAccess); }
public void removeWorldAccess(final IWorldAccess par1IWorldAccess) { this.world.removeWorldAccess(par1IWorldAccess); }
public void playUnNamespacedSound(World w, double x, double y, double z, String name, float volume, float pitch) { for (Object o : (Iterable) Reflection.get(World.class, w, "worldAccesses")) { IWorldAccess iwa = (IWorldAccess) o; iwa.playSound(name, x, y, z, volume, pitch); } }
public void func_72845_h(int p_72845_1_, int p_72845_2_, int p_72845_3_) { for(int var4 = 0; var4 < this.field_73021_x.size(); ++var4) { ((IWorldAccess)this.field_73021_x.get(var4)).func_72710_a(p_72845_1_, p_72845_2_, p_72845_3_); } }
public void func_72909_d(int p_72909_1_, int p_72909_2_, int p_72909_3_, int p_72909_4_, int p_72909_5_, int p_72909_6_) { for(int var7 = 0; var7 < this.field_73021_x.size(); ++var7) { ((IWorldAccess)this.field_73021_x.get(var7)).func_72707_a(p_72909_1_, p_72909_2_, p_72909_3_, p_72909_4_, p_72909_5_, p_72909_6_); } }
public void func_72902_n(int p_72902_1_, int p_72902_2_, int p_72902_3_) { for(int var4 = 0; var4 < this.field_73021_x.size(); ++var4) { ((IWorldAccess)this.field_73021_x.get(var4)).func_72711_b(p_72902_1_, p_72902_2_, p_72902_3_); } }
public void func_72934_a(String p_72934_1_, int p_72934_2_, int p_72934_3_, int p_72934_4_) { for(int var5 = 0; var5 < this.field_73021_x.size(); ++var5) { ((IWorldAccess)this.field_73021_x.get(var5)).func_72702_a(p_72934_1_, p_72934_2_, p_72934_3_, p_72934_4_); } }
public void func_72869_a(String p_72869_1_, double p_72869_2_, double p_72869_4_, double p_72869_6_, double p_72869_8_, double p_72869_10_, double p_72869_12_) { for(int var14 = 0; var14 < this.field_73021_x.size(); ++var14) { ((IWorldAccess)this.field_73021_x.get(var14)).func_72708_a(p_72869_1_, p_72869_2_, p_72869_4_, p_72869_6_, p_72869_8_, p_72869_10_, p_72869_12_); } }
protected void func_72923_a(Entity p_72923_1_) { for(int var2 = 0; var2 < this.field_73021_x.size(); ++var2) { ((IWorldAccess)this.field_73021_x.get(var2)).func_72703_a(p_72923_1_); } }
public void func_72847_b(Entity p_72847_1_) { for(int var2 = 0; var2 < this.field_73021_x.size(); ++var2) { ((IWorldAccess)this.field_73021_x.get(var2)).func_72709_b(p_72847_1_); } }
public void func_72954_a(IWorldAccess p_72954_1_) { this.field_73021_x.add(p_72954_1_); }
@SideOnly(Side.CLIENT) public void func_72848_b(IWorldAccess p_72848_1_) { this.field_73021_x.remove(p_72848_1_); }
public void func_82739_e(int p_82739_1_, int p_82739_2_, int p_82739_3_, int p_82739_4_, int p_82739_5_) { for(int var6 = 0; var6 < this.field_73021_x.size(); ++var6) { ((IWorldAccess)this.field_73021_x.get(var6)).func_82746_a(p_82739_1_, p_82739_2_, p_82739_3_, p_82739_4_, p_82739_5_); } }
public void playUnNamespacedSound(World w, double x, double y, double z, String name, float volume, float pitch){ for(Object o:(Iterable) Reflection.get(World.class, w, "worldAccesses")){ IWorldAccess iwa=(IWorldAccess) o; iwa.playSound(name, x, y, z, volume, pitch); } }