Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
0
Help us understand the problem. What is going on with this article?
@niwasawa

Minecraft Forge の API リファレンスを javadoc コマンドで生成する

More than 1 year has passed since last update.

今回の実行環境

macOS Catalina + Java 8

$ sw_vers 
ProductName:    Mac OS X
ProductVersion: 10.15.3
BuildVersion:   19D76

$ java -version
openjdk version "1.8.0_242"
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_242-b08)
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.242-b08, mixed mode)

javadoc コマンドで API リファレンスを生成

Minecraft Forge のソースコードをダウロードして展開する。
今回はバージョン 1.15 系をダウンロードする。

$ wget https://github.com/MinecraftForge/MinecraftForge/archive/1.15.x.zip
$ unzip 1.15.x.zip

javadoc コマンドで API リファレンスの HTML ページを生成する。

$ javadoc -d docs -sourcepath MinecraftForge-1.15.x/src/main/java -subpackages net.minecraftforge

-d オプションで指定したディレクトリに HTML ファイル等が生成されているのが確認できる。

$ find docs | head
docs
docs/constant-values.html
docs/overview-tree.html
docs/net
docs/net/minecraftforge
docs/net/minecraftforge/registries
docs/net/minecraftforge/registries/IRegistryDelegate.html
docs/net/minecraftforge/registries/IForgeRegistry.CreateCallback.html
docs/net/minecraftforge/registries/ForgeRegistry.Snapshot.html
docs/net/minecraftforge/registries/ObjectHolderRef.html

参考資料

0
Help us understand the problem. What is going on with this article?
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
niwasawa
迷子になりがちな地図・位置情報系プログラマ。

Comments

No comments
Sign up for free and join this conversation.
Sign Up
If you already have a Qiita account Login
0
Help us understand the problem. What is going on with this article?