Skip to content

The mod that provide the json (maybe also js) API for Minecraft Modding.

Notifications You must be signed in to change notification settings

InfinityStudio/SimpleAPI

Repository files navigation

SimpleAPI

The mod that provide the json (maybe also js) API for Minecraft Modding.

File Structure

All the definition json should go to the defs folder under your mod assets, the assets/modid/defs folders.

For Item, it goes items sub-folder: assets/modid/defs/items

For Block, it goes blocks sub-folder: assets/modid/defs/blocks

For Entity, it goes entities sub-folder: assets/modid/defs/entities

All the JSON contained by these 3 folders above, will be loaded into Minecraft.

API details

All the JSON files in definition folder, should be a JSONArray looked like:

[
	{component-definition-a},
	{component-definition-b}
	...
]

Each component definition should have a property id which is unique to others.

Capability definition

Component definition for item

Component definition for block

About

The mod that provide the json (maybe also js) API for Minecraft Modding.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages