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,11 @@
|
||||
package com.mrmelon54.Draggable.fabric;
|
||||
|
||||
import com.mrmelon54.Draggable.fabriclike.DraggableFabricLike;
|
||||
import net.fabricmc.api.ModInitializer;
|
||||
|
||||
public class DraggableFabric implements ModInitializer {
|
||||
@Override
|
||||
public void onInitialize() {
|
||||
DraggableFabricLike.init();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
package com.mrmelon54.Draggable.fabric;
|
||||
|
||||
import com.mrmelon54.Draggable.ExampleExpectPlatform;
|
||||
import net.fabricmc.loader.api.FabricLoader;
|
||||
|
||||
import java.nio.file.Path;
|
||||
|
||||
public class ExampleExpectPlatformImpl {
|
||||
/**
|
||||
* This is our actual method to {@link ExampleExpectPlatform#getConfigDirectory()}.
|
||||
*/
|
||||
public static Path getConfigDirectory() {
|
||||
return FabricLoader.getInstance().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,35 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"id": "draggable",
|
||||
"version": "${version}",
|
||||
"name": "Draggable",
|
||||
"description": "Draggable resource packs, datapacks, servers and worlds",
|
||||
"authors": [
|
||||
"MrMelon54"
|
||||
],
|
||||
"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",
|
||||
"environment": "*",
|
||||
"entrypoints": {
|
||||
"main": [
|
||||
"com.mrmelon54.Draggable.fabric.DraggableFabric"
|
||||
],
|
||||
"modmenu": [
|
||||
"com.mrmelon54.Draggable.fabriclike.ModMenuIntegration"
|
||||
]
|
||||
},
|
||||
"mixins": [
|
||||
"draggable.mixins.json",
|
||||
"draggable-common.mixins.json"
|
||||
],
|
||||
"depends": {
|
||||
"fabric": "*",
|
||||
"minecraft": ">=1.20",
|
||||
"architectury": ">=9.0.0"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user