Examples of onBlockPreDestroy()


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

      int wX = xPosition * 16 + x;
      int wZ = zPosition * 16 + z;
      Block oldBlock = oldId > 0 ? Block.blocksList[oldId] : null;

      if (oldBlock != null && !worldObj.isRemote) {
        oldBlock.onBlockPreDestroy(worldObj, wX, y, wZ, oldMeta);
      }

      ebs.setExtBlockID(x, y & 15, z, id);

      if (oldBlock != null) {
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.