2.0.0-alpha.4 • Published 8 months ago

lazuli-api v2.0.0-alpha.4

Weekly downloads
-
License
MIT
Repository
-
Last release
8 months ago

Lazuli Api

简体中文 | English

Some useful instances for Minecraft Script Api.

Register API

If the instance has Need Registry category, it needs a static method in Register Api to registried it in game.

For example, if you want to define a tool:

const EXAMPL_TOOL: ToolItem = new ToolItem("exmaple:tool");
Register.toolRegistry(EXAMPLE_TOOL);

Language Files

Article API

If you want to enable the Article API, you need to add the following strings to the language file:

article.nothing.title=No unlocked article
article.nothing.body=You don't unlock any articles, you can get and read an article to unlock it.

Quest API

If you want to enable Quest API, you need to add the following strings to the language file:

api.unexpected_error.quest=Unknown error!
quest.finished=You have completed a quest!
quest.done=The quest has been completed
quest.check=Submit the quest
quest.not_enough.item=You need %1 %2 to complete this task
quest.not_enough.level=You need %1 experience to complete this task
quest.not_enough.xp=You need %1 experience to complete this task
quest.not_enough.entity=You also need %1 specific tasks to complete this task
Quest.not_enough.entity=You need to kill %1 to complete this quest
quest.condition=§eCompletion§r:
quest.award=§eReward§r:
quest.item=%1 %2;
quest.xp=%1 ×experience;
quest.level=%1 ×level;
quest.quests=Complete %1 specific quests;
quest.entity=Kill %1;
quest.reward.none=No reward
quest.condition.none=No condition
quest.tips=§4Tips§r:

Job API

job.tryUpdate=Try update job level
1.6.3

8 months ago

1.6.2

9 months ago

1.6.1

9 months ago

1.6.0

10 months ago

1.5.1

10 months ago

2.0.0-alpha.3

8 months ago

2.0.0-alpha.4

8 months ago

2.0.0-alpha.1

8 months ago

2.0.0-alpha.2

8 months ago

1.5.0

10 months ago

1.4.4

10 months ago

1.4.3

10 months ago

1.4.2

10 months ago

1.4.1

10 months ago

1.4.0

10 months ago

1.3.0

10 months ago

1.2.3

10 months ago

1.2.2

10 months ago

1.2.1

10 months ago

1.2.0

10 months ago

1.1.0

10 months ago

1.0.0

10 months ago