Interface MinecraftAccessAddon
public interface MinecraftAccessAddon
Entrypoint for registering items with Minecraft Access.
Implementations must have a default or no-args constructor.
This constructor will be called before Minecraft Access is initialised,
any initialisation which depends on Minecraft Access should go in init(AddonRegistry).
This should be added to fabric.mod.json on Fabric as an entrypoint:
{
"entrypoints": {
"minecraft_access": [
"com.example.YourMinecraftAccessAddon"
]
}
}
On NeoForge this should be annotated with MinecraftAccessAddon.NeoForge.
- Since:
- 1.12.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic @interfaceMarks aMinecraftAccessAddonthat should be loaded on NeoForge. -
Method Summary
-
Method Details
-
init
Addon initialiser.- Parameters:
registry- Registry for registering items with Minecraft Access.- Since:
- 1.12.0
- Implementation Note:
- This is called at the end of Minecraft Access initialisation.
-