From f2afd3c41ec83500c976e30fc445ae03e4bdf165 Mon Sep 17 00:00:00 2001 From: Aizistral Date: Sat, 25 Jun 2022 17:20:43 +0200 Subject: Implement test mod with some debug utilities --- src/test/resources/fabric.mod.json | 36 ++++++++++++++++++++++++ src/test/resources/nochatreportstest.mixins.json | 18 ++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 src/test/resources/fabric.mod.json create mode 100644 src/test/resources/nochatreportstest.mixins.json (limited to 'src/test/resources') diff --git a/src/test/resources/fabric.mod.json b/src/test/resources/fabric.mod.json new file mode 100644 index 0000000..d364a5f --- /dev/null +++ b/src/test/resources/fabric.mod.json @@ -0,0 +1,36 @@ +{ + "schemaVersion": 1, + "id": "nochatreportstest", + "version": "${version}", + + "name": "No Chat Reports Test", + "description": "Testmod", + "authors": [ + "Aizistral" + ], + "contact": { + "homepage": "https://www.curseforge.com/minecraft/mc-mods/no-chat-reports", + "sources": "https://github.com/Aizistral-Studios/No-Chat-Reports" + }, + + "license": "WTFPL", + "icon": "NCR_logo.png", + + "environment": "*", + "entrypoints": { + "main": [ + "com.aizistral.nochatreports.debug.NoChatReportsDebug" + ] + }, + "mixins": [ + "nochatreportstest.mixins.json" + ], + + "depends": { + "fabricloader": ">=0.14.6", + "fabric": "*", + "minecraft": "~1.19", + "java": ">=17" + }, + "suggests": {} +} diff --git a/src/test/resources/nochatreportstest.mixins.json b/src/test/resources/nochatreportstest.mixins.json new file mode 100644 index 0000000..f389b5e --- /dev/null +++ b/src/test/resources/nochatreportstest.mixins.json @@ -0,0 +1,18 @@ +{ + "required": true, + "minVersion": "0.8", + "package": "com.aizistral.nochatreports.debug.mixins", + "compatibilityLevel": "JAVA_17", + "verbose": true, + "mixins": [ + ], + "client": [ + "MixinPlayerEntry", + "MixinAbuseReportSenderServices" + ], + "server": [ + ], + "injectors": { + "defaultRequire": 1 + } +} -- cgit v1.2.3