mirror of
https://github.com/Jacobwasbeast/LegacyWeaveLoader.git
synced 2026-06-11 23:41:53 +00:00
feat(modloader): add item use and summon APIs
Add managed item use hooks, server-authoritative summon support, and side-aware use item context. Include IdHelper mappings, example ruby wand usage, and related runtime/crash-handler updates.
This commit is contained in:
@@ -34,6 +34,12 @@ public static class Registry
|
||||
{
|
||||
public static RegisteredEntity Register(Identifier id, EntityDefinition definition)
|
||||
=> EntityRegistry.Register(id, definition);
|
||||
|
||||
public static bool Summon(Identifier id, double x, double y, double z)
|
||||
=> EntityRegistry.Summon(id, x, y, z);
|
||||
|
||||
public static bool Summon(int numericId, double x, double y, double z)
|
||||
=> EntityRegistry.Summon(numericId, x, y, z);
|
||||
}
|
||||
|
||||
/// <summary>Recipe registration for crafting and smelting.</summary>
|
||||
|
||||
Reference in New Issue
Block a user