mirror of
https://github.com/koloml/vs-manual-cartography.git
synced 2026-06-23 18:22:21 +00:00
This commit adds dummy compass item wich will just send the angle into the chat when you click RMB on it.
14 lines
325 B
C#
14 lines
325 B
C#
using ManualCartography.Items;
|
|
using Vintagestory.API.Common;
|
|
using Vintagestory.API.Server;
|
|
|
|
namespace ManualCartography;
|
|
|
|
public class ManualCartographyModSystem : ModSystem
|
|
{
|
|
public override void Start(ICoreAPI api)
|
|
{
|
|
api.RegisterItemClass(Mod.Info.ModID + ".itemcompass", typeof(ItemCompass));
|
|
}
|
|
}
|