mirror of
https://github.com/darksaid98/draggable_lists.git
synced 2026-12-03 14:38:46 +00:00
First commit and add config options
This commit is contained in:
45 files changed
+1533
No files matched your search
@@ -0,0 +1,12 @@
|
||||
package com.mrmelon54.Draggable.quilt;
|
||||
|
||||
import com.mrmelon54.Draggable.fabriclike.DraggableFabricLike;
|
||||
import org.quiltmc.loader.api.ModContainer;
|
||||
import org.quiltmc.qsl.base.api.entrypoint.ModInitializer;
|
||||
|
||||
public class DraggableQuilt implements ModInitializer {
|
||||
@Override
|
||||
public void onInitialize(ModContainer mod) {
|
||||
DraggableFabricLike.init();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
package com.mrmelon54.Draggable.quilt;
|
||||
|
||||
import com.mrmelon54.Draggable.ExampleExpectPlatform;
|
||||
import org.quiltmc.loader.api.QuiltLoader;
|
||||
|
||||
import java.nio.file.Path;
|
||||
|
||||
public class ExampleExpectPlatformImpl {
|
||||
/**
|
||||
* This is our actual method to {@link ExampleExpectPlatform#getConfigDirectory()}.
|
||||
*/
|
||||
public static Path getConfigDirectory() {
|
||||
return QuiltLoader.getConfigDir();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"required": true,
|
||||
"package": "com.mrmelon54.Draggable.mixin.fabric",
|
||||
"compatibilityLevel": "JAVA_17",
|
||||
"minVersion": "0.8",
|
||||
"client": [
|
||||
],
|
||||
"mixins": [
|
||||
],
|
||||
"injectors": {
|
||||
"defaultRequire": 1
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,56 @@
|
||||
{
|
||||
"schema_version": 1,
|
||||
"mixin": [
|
||||
"draggable.mixins.json",
|
||||
"draggable-common.mixins.json"
|
||||
],
|
||||
"quilt_loader": {
|
||||
"group": "${group}",
|
||||
"id": "draggable",
|
||||
"version": "${version}",
|
||||
"metadata": {
|
||||
"name": "Draggable",
|
||||
"description": "Draggable resource packs, datapacks, servers and worlds",
|
||||
"contributors": {
|
||||
"MrMelon54": "Owner"
|
||||
},
|
||||
"contact": {
|
||||
"homepage": "https://mrmelon54.com/minecraft/draggable",
|
||||
"sources": "https://github.com/MrMelon54/draggable",
|
||||
"issues": "https://github.com/MrMelon54/draggable/issues"
|
||||
},
|
||||
"license": "GPL-3.0-only",
|
||||
"icon": "icon.png"
|
||||
},
|
||||
"intermediate_mappings": "net.fabricmc:intermediary",
|
||||
"entrypoints": {
|
||||
"init": [
|
||||
"com.mrmelon54.Draggable.quilt.DraggableQuilt"
|
||||
],
|
||||
"modmenu": [
|
||||
"com.mrmelon54.Draggable.fabriclike.ModMenuIntegration"
|
||||
]
|
||||
},
|
||||
"depends": [
|
||||
{
|
||||
"id": "quilt_loader",
|
||||
"version": "*"
|
||||
},
|
||||
{
|
||||
"id": "quilt_base",
|
||||
"version": "*"
|
||||
},
|
||||
{
|
||||
"id": "minecraft",
|
||||
"version": ">=1.20"
|
||||
},
|
||||
{
|
||||
"id": "architectury",
|
||||
"version": ">=9.0.0"
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft": {
|
||||
"environment": "*"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user