Package net.minecraft.tileentity

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


        // air.

        TileEntity e = context.world().getTileEntity(x, y, z);

        if (e != null) {
          e.updateEntity();
        }
      } catch (Throwable t) {
        t.printStackTrace();
        context.world().setBlockToAir(x, y, z);
      }
View Full Code Here


        try {
          if (tileEntity.isInvalid()) {
            tileEntitiesIterator.remove();
            invalidate(tileEntity);
          } else if (tileEntity.worldObj != null) {
            tileEntity.updateEntity();
          }
        } catch (Throwable throwable) {
          Log.severe("Exception ticking TileEntity " + Log.toString(tileEntity), throwable);
        } finally {
          if (profilingEnabled) {
View Full Code Here

      while (var14.hasNext()) {
        TileEntity var9 = (TileEntity) var14.next();

        if (!var9.isInvalid() && var9.hasWorldObj() && blockExists(var9.xCoord, var9.yCoord, var9.zCoord)) {
          try {
            var9.updateEntity();
          } catch (Throwable var8) {
            var4 = CrashReport.makeCrashReport(var8, "Ticking tile entity");
            var5 = var4.makeCategory("Tile entity being ticked");
            var9.func_85027_a(var5);
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.