@Override
  public void processCommand(ICommandSender icommandsender, String[] astring) {
    GCEntityPlayerMP playerBase = null;

    if (astring.length < 2) {
      try {
        if (astring.length == 1) {
          playerBase = PlayerUtil.getPlayerBaseServerFromPlayerUsername(astring[0], true);
        } else {
          playerBase =
              PlayerUtil.getPlayerBaseServerFromPlayerUsername(
                  icommandsender.getCommandSenderName(), true);
        }

        if (playerBase != null) {
          playerBase.getPlayerStats().rocketStacks = new ItemStack[2];
          playerBase.getPlayerStats().rocketType = IRocketType.EnumRocketType.DEFAULT.ordinal();
          playerBase.getPlayerStats().rocketItem = GCItems.rocketTier1;
          playerBase.getPlayerStats().fuelLevel = 1000;

          HashMap<String, Integer> map =
              WorldUtil.getArrayOfPossibleDimensions(
                  WorldUtil.getPossibleDimensionsForSpaceshipTier(Integer.MAX_VALUE), playerBase);

          String temp = "";
          int count = 0;

          for (Entry<String, Integer> entry : map.entrySet()) {
            temp = temp.concat(entry.getKey() + (count < map.entrySet().size() - 1 ? "?" : ""));
            count++;
          }

          GalacticraftCore.packetPipeline.sendTo(
              new PacketSimple(
                  EnumSimplePacket.C_UPDATE_DIMENSION_LIST,
                  new Object[] {playerBase.getGameProfile().getName(), temp}),
              playerBase);
          playerBase.getPlayerStats().spaceshipTier = Integer.MAX_VALUE;
          playerBase.getPlayerStats().usingPlanetSelectionGui = true;
          playerBase.mountEntity(null);

          VersionUtil.notifyAdmins(
              icommandsender,
              this,
              "commands.dimensionteleport",
              new Object[] {
                String.valueOf(EnumColor.GREY + "[" + playerBase.getCommandSenderName()), "]"
              });
        } else {
          throw new Exception("Could not find player with name: " + astring[0]);
        }
      } catch (final Exception var6) {
        throw new CommandException(var6.getMessage(), new Object[0]);
      }
    } else {
      throw new WrongUsageException(
          "Not enough command arguments! Usage: " + this.getCommandUsage(icommandsender),
          new Object[0]);
    }
  }
  private void renderHeavyNoseCone(
      ItemRenderType type,
      RenderBlocks render,
      ItemStack item,
      float translateX,
      float translateY,
      float translateZ) {
    GL11.glPushMatrix();
    GL11.glEnable(GL11.GL_BLEND);

    for (int i = 0; i < 2; i++) {
      GL11.glPushMatrix();

      if (i == 1) {
        SpaceRace race =
            SpaceRaceManager.getSpaceRaceFromPlayer(
                FMLClientHandler.instance().getClientPlayerEntity().getGameProfile().getName());
        Vector3 color = null;

        if (race != null) {
          color = race.getTeamColor();
        }

        if (color == null) {
          color = new Vector3(1, 1, 1);
        }

        GL11.glColor4f(color.floatX(), color.floatY(), color.floatZ(), 1.0F);
      }

      IIcon iicon = FMLClientHandler.instance().getClientPlayerEntity().getItemIcon(item, i);

      if (iicon == null) {
        GL11.glPopMatrix();
        return;
      }

      FMLClientHandler.instance()
          .getClient()
          .getTextureManager()
          .bindTexture(
              FMLClientHandler.instance()
                  .getClient()
                  .getTextureManager()
                  .getResourceLocation(item.getItemSpriteNumber()));
      VersionUtil.setMipMap(false, false);
      Tessellator tessellator = Tessellator.instance;
      float f = iicon.getMinU();
      float f1 = iicon.getMaxU();
      float f2 = iicon.getMinV();
      float f3 = iicon.getMaxV();
      float f4 = 0.0F;
      float f5 = 1.0F;
      GL11.glEnable(GL12.GL_RESCALE_NORMAL);
      GL11.glScalef(1.0F, -1.0F, 1.0F);
      float f6 = 16.0F;
      GL11.glScalef(f6, f6, f6);
      GL11.glTranslatef(-f4, -f5, 0.0F);
      ItemRenderer.renderItemIn2D(
          tessellator, f1, f2, f, f3, iicon.getIconWidth(), iicon.getIconHeight(), 0.0625F);
      GL11.glPopMatrix();
    }

    GL11.glPopMatrix();
  }