Examples of updateContainingBlockInfo()


Examples of micdoodle8.mods.galacticraft.core.tile.TileEntityParaChest.updateContainingBlockInfo()

    {
        TileEntityParaChest tileentitychest = (TileEntityParaChest) par1World.getTileEntity(par2, par3, par4);

        if (tileentitychest != null)
        {
            tileentitychest.updateContainingBlockInfo();
        }
    }

    @Override
    public boolean canPlaceBlockAt(World par1World, int par2, int par3, int par4)
View Full Code Here

Examples of micdoodle8.mods.galacticraft.core.tile.TileEntityTreasureChest.updateContainingBlockInfo()

        super.onNeighborBlockChange(par1World, par2, par3, par4, par5);
        final TileEntityTreasureChest var6 = (TileEntityTreasureChest) par1World.getTileEntity(par2, par3, par4);

        if (var6 != null)
        {
            var6.updateContainingBlockInfo();
        }
    }

    @Override
    public void breakBlock(World par1World, int par2, int par3, int par4, Block par5, int par6)
View Full Code Here

Examples of micdoodle8.mods.galacticraft.planets.asteroids.tile.TileEntityTreasureChestAsteroids.updateContainingBlockInfo()

        super.onNeighborBlockChange(par1World, par2, par3, par4, par5);
        final TileEntityTreasureChestAsteroids var6 = (TileEntityTreasureChestAsteroids) par1World.getTileEntity(par2, par3, par4);

        if (var6 != null)
        {
            var6.updateContainingBlockInfo();
        }
    }

    @Override
    public void breakBlock(World par1World, int par2, int par3, int par4, Block par5, int par6)
View Full Code Here

Examples of micdoodle8.mods.galacticraft.planets.mars.tile.TileEntityTreasureChestMars.updateContainingBlockInfo()

        super.onNeighborBlockChange(par1World, par2, par3, par4, par5);
        final TileEntityTreasureChestMars var6 = (TileEntityTreasureChestMars) par1World.getTileEntity(par2, par3, par4);

        if (var6 != null)
        {
            var6.updateContainingBlockInfo();
        }
    }

    @Override
    public void breakBlock(World par1World, int par2, int par3, int par4, Block par5, int par6)
View Full Code Here

Examples of net.minecraft.tileentity.TileEntity.updateContainingBlockInfo()

      if (tile != null) {
        tile.xCoord = coords.posX;
        tile.yCoord = coords.posY;
        tile.zCoord = coords.posZ;
        tile.updateContainingBlockInfo();
      }

            //if (block != null)
            //  block.onNeighborBlockChange(worldObj, coords.posX, coords.posY, coords.posZ, ThaumicTinkerer.registry.getFirstBlockFromClass(BlockTransvectorDislocator.class));
View Full Code Here

Examples of net.minecraft.tileentity.TileEntity.updateContainingBlockInfo()

              var14 = Block.blocksList[id].createTileEntity(worldObj, meta);
              worldObj.setBlockTileEntity(var12, y, var13, var14);
            }

            if (var14 != null) {
              var14.updateContainingBlockInfo();
              var14.blockMetadata = meta;
            }
          }
        }
View Full Code Here

Examples of net.minecraft.tileentity.TileEntity.updateContainingBlockInfo()

              tileEntity = block.createTileEntity(worldObj, meta);
              worldObj.setBlockTileEntity(wX, y, wZ, tileEntity);
            }

            if (tileEntity != null) {
              tileEntity.updateContainingBlockInfo();
              tileEntity.blockMetadata = meta;
            }
          }
        }
View Full Code Here

Examples of net.minecraft.tileentity.TileEntityChest.updateContainingBlockInfo()

                chestContents[i] = null;
            }
            // Clear the old block out
            world.setBlock(X, Y, Z, Blocks.air, 0, 3);
            // Force the Chest TE to reset it's knowledge of neighbouring blocks
            tec.updateContainingBlockInfo();
            // Force the Chest TE to update any neighbours so they update next
            // tick
            tec.checkForAdjacentChests();
            // And put in our block instead
            world.setBlock(X, Y, Z, block, newchest.getType().ordinal(), 3);
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.