示例#1
0
  @Override
  public void tickEnd(EnumSet<TickType> type, Object... tickData) {
    if (type.contains(TickType.PLAYER)) {
      EntityPlayer player = (EntityPlayer) tickData[0];
      World world = player.worldObj;

      // Allow the client to increment time
      TFC_Time.UpdateTime(world);
    }
  }