Package me.desht.pneumaticcraft.api
Class PneumaticRegistry
java.lang.Object
me.desht.pneumaticcraft.api.PneumaticRegistry
This class can be used to register and access various things to and from the mod. All access is via
getInstance()-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceProvides top-level access to the various registries and helpers in the API. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet an instance of the top-level API.static voidDo not call this method yourself.static net.minecraft.resources.ResourceLocationGet a resource location with the domain of PneumaticCraft: Repressurized's mod ID.
-
Field Details
-
MOD_ID
- See Also:
-
-
Constructor Details
-
PneumaticRegistry
public PneumaticRegistry()
-
-
Method Details
-
getInstance
Get an instance of the top-level API.- Returns:
- the top-level API
-
init
Do not call this method yourself. For PneumaticCraft internal usage only!- Parameters:
inter- reference to the API interface object
-
RL
Get a resource location with the domain of PneumaticCraft: Repressurized's mod ID.- Parameters:
path- the path- Returns:
- a mod-specific ResourceLocation for the given path
-