Examples of updateEntity()


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

        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

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

      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

Examples of net.minecraft.world.WorldServer.updateEntity()

      entity.setPosition(x + 0.5, entity.posY, z + 0.5);
      if(world.canPlaceEntityOnSide(b, x, y, z, false, ForgeDirection.UP.ordinal(), entity, null)) {
        resetForRandomRandomSpawn(entity);
        if(worldserver.spawnEntityInWorld(entity)) {
          //entity.onUpdate();
          worldserver.updateEntity(entity);
          return;
        }
      }
    }
    entity.setPosition(oX, entity.posY, oZ);
View Full Code Here

Examples of org.apache.olingo.odata2.api.processor.part.EntityProcessor.updateEntity()

    EntityProcessor entity = mock(EntityProcessor.class);
    when(entity.readEntity(any(UriInfoImpl.class), anyString())).thenAnswer(getAnswer());
    when(entity.existsEntity(any(UriInfoImpl.class), anyString())).thenAnswer(getAnswer());
    when(entity.deleteEntity(any(UriInfoImpl.class), anyString())).thenAnswer(getAnswer());
    when(entity.updateEntity(any(UriInfoImpl.class), any(InputStream.class), anyString(), anyBoolean(), anyString()))
        .thenAnswer(getAnswer());

    EntityComplexPropertyProcessor entityComplexProperty = mock(EntityComplexPropertyProcessor.class);
    when(entityComplexProperty.readEntityComplexProperty(any(UriInfoImpl.class), anyString())).thenAnswer(getAnswer());
    when(
View Full Code Here

Examples of weave.config.DataConfig.updateEntity()

          }
          else
          {
            table_id = existingTableId;
            // update private metadata only
            dataConfig.updateEntity(table_id, tableInfo);
          }
     
      for (int i = 0; i < columnInfoList.size(); i++)
      {
        ColumnInfo info = columnInfoList.get(i);
View Full Code Here

Examples of weave.config.DataConfig.updateEntity()

        // if not updating an existing column, create a new one
        if (existingTableId == DataConfig.NULL || info.existingColumnId == DataConfig.NULL)
          dataConfig.newEntity(newMeta, table_id, DataConfig.NULL);
        else
          dataConfig.updateEntity(info.existingColumnId, newMeta);
      }
    }
    catch (SQLException e)
    {
      throw new RemoteException(failMessage, e);
View Full Code Here

Examples of weave.config.DataConfig.updateEntity()

        dataConfig.newEntity(geomInfo, tableId, 0);
      }
      else
      {
        // update existing column
        dataConfig.updateEntity(existingGeomId, geomInfo);
      }
    }
    catch (IOException e)
    {
      throw new RemoteException("Unexpected error",e);
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.