Posted February 19, 201510 yr Hi, I'm SteveKunG. I would like to make other fire blocks can extinguish property. Here this code is a small suggestion. In file World.java of 1.7.10 public boolean extinguishFire(EntityPlayer p_72886_1_, int p_72886_2_, int p_72886_3_, int p_72886_4_, int p_72886_5_) { if (p_72886_5_ == 0) { --p_72886_3_; } if (p_72886_5_ == 1) { ++p_72886_3_; } if (p_72886_5_ == 2) { --p_72886_4_; } if (p_72886_5_ == 3) { ++p_72886_4_; } if (p_72886_5_ == 4) { --p_72886_2_; } if (p_72886_5_ == 5) { ++p_72886_2_; } if (this.getBlock(p_72886_2_, p_72886_3_, p_72886_4_) instanceof BlockFire) //Here! { this.playAuxSFXAtEntity(p_72886_1_, 1004, p_72886_2_, p_72886_3_, p_72886_4_, 0); this.setBlockToAir(p_72886_2_, p_72886_3_, p_72886_4_); return true; } else { return false; } }
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.