Examples of onBlockExploded()


Examples of net.minecraft.block.Block.onBlockExploded()

                        if (block.canDropFromExplosion(this))
                        {
                            block.dropBlockAsItemWithChance(worldObj, i, j, k, worldObj.getBlockMetadata(i, j, k), 1.0F / explosionSize, 0);
                        }

                        block.onBlockExploded(worldObj, i, j, k, this);
                        affectedBlockPositions.add(chunkposition);
                    }
                }
            }
        }
View Full Code Here

Examples of net.minecraft.block.Block.onBlockExploded()

                  if ( block.canDropFromExplosion( ex ) )
                  {
                    block.dropBlockAsItemWithChance( this.worldObj, x, y, z, this.worldObj.getBlockMetadata( x, y, z ), 1.0F / 1.0f, 0 );
                  }

                  block.onBlockExploded( this.worldObj, x, y, z, ex );
                }
              }

            }
          }
View Full Code Here

Examples of net.minecraft.block.Block.onBlockExploded()

                    if (block.canDropFromExplosion(this))
                    {
                        block.dropBlockAsItemWithChance(this.world, i, j, k, this.world.getBlockMetadata(i, j, k), 1.0F, 0);
                    }

                    block.onBlockExploded(this.world, i, j, k, this);
                }
            }
        }

        if (this.isFlaming)
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.