Examples of notifyBlockChange()


Examples of net.minecraft.world.World.notifyBlockChange()

        }

        if (notifyAndLight) {
            world.func_147451_t(x, y, z);
            world.markBlockForUpdate(x, y, z);
            world.notifyBlockChange(x, y, z, Block.getBlockById(previousId));

            Block mcBlock = Block.getBlockById(previousId);
            if (mcBlock != null && mcBlock.hasComparatorInputOverride()) {
                world.func_147453_f(x, y, z, Block.getBlockById(block.getId()));
            }
View Full Code Here

Examples of net.minecraft.world.World.notifyBlockChange()

        if(worldCache.getTileEntity(xCache, yCache, zCache) != tileCache) {
          worldCache.setTileEntity(xCache, yCache, zCache, tileCache);
          changed = true;
        }
        if(changed) {
          worldCache.notifyBlockChange(xCache, yCache, zCache, LogisticsPipes.LogisticsPipeBlock);
        }
        fPipe.setPreventRemove(false);
        return 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.