Examples of onNeighborChange()


Examples of appeng.tile.networking.TileController.onNeighborChange()

  @Override
  public void onNeighborBlockChange(World w, int x, int y, int z, Block id_junk)
  {
    TileController tc = getTileEntity( w, x, y, z );
    if ( tc != null )
      tc.onNeighborChange( false );
  }

  @Override
  protected Class<? extends BaseBlockRender> getRenderer()
  {
View Full Code Here

Examples of com.mojang.minecraft.level.tile.Block.onNeighborChange()

   private void updateTile(int var1, int var2, int var3, int var4) {
      if(var1 >= 0 && var2 >= 0 && var3 >= 0 && var1 < this.width && var2 < this.depth && var3 < this.height) {
         Block var5;
         if((var5 = Block.blocks[this.blocks[(var2 * this.height + var3) * this.width + var1]]) != null) {
            var5.onNeighborChange(this, var1, var2, var3, var4);
         }

      }
   }

View Full Code Here

Examples of mekanism.common.tile.TileEntityBoundingBlock.onNeighborChange()

  @Override
  public void onNeighborBlockChange(World world, int x, int y, int z, Block block)
  {
    try {
      TileEntityBoundingBlock tileEntity = (TileEntityBoundingBlock)world.getTileEntity(x, y, z);
      tileEntity.onNeighborChange(block);
      world.getBlock(tileEntity.mainX, tileEntity.mainY, tileEntity.mainZ).onNeighborBlockChange(world, tileEntity.mainX, tileEntity.mainY, tileEntity.mainZ, this);
    } catch(Exception e) {}
  }

  @Override
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.