setup
This commit is contained in:
@ -9,8 +9,8 @@ yarn_mappings=1.21.4+build.4
|
||||
loader_version=0.16.9
|
||||
|
||||
# Mod Properties
|
||||
mod_version=1.0.0
|
||||
maven_group=de.jottyfan.gta.dgp
|
||||
mod_version=0.0.1
|
||||
maven_group=de.jottyfan.gta.gdp
|
||||
archives_base_name=gtagdp
|
||||
|
||||
# Dependencies
|
||||
|
@ -1,24 +0,0 @@
|
||||
package de.jottyfan.gta.dgp;
|
||||
|
||||
import net.fabricmc.api.ModInitializer;
|
||||
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
public class GTAGDP implements ModInitializer {
|
||||
public static final String MOD_ID = "gtagdp";
|
||||
|
||||
// This logger is used to write text to the console and the log file.
|
||||
// It is considered best practice to use your mod id as the logger's name.
|
||||
// That way, it's clear which mod wrote info, warnings, and errors.
|
||||
public static final Logger LOGGER = LoggerFactory.getLogger(MOD_ID);
|
||||
|
||||
@Override
|
||||
public void onInitialize() {
|
||||
// This code runs as soon as Minecraft is in a mod-load-ready state.
|
||||
// However, some things (like resources) may still be uninitialized.
|
||||
// Proceed with mild caution.
|
||||
|
||||
LOGGER.info("Hello Fabric world!");
|
||||
}
|
||||
}
|
20
src/main/java/de/jottyfan/gta/gdp/GTAGDP.java
Normal file
20
src/main/java/de/jottyfan/gta/gdp/GTAGDP.java
Normal file
@ -0,0 +1,20 @@
|
||||
package de.jottyfan.gta.gdp;
|
||||
|
||||
import net.fabricmc.api.ModInitializer;
|
||||
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author jotty
|
||||
*
|
||||
*/
|
||||
public class GTAGDP implements ModInitializer {
|
||||
public static final String MOD_ID = "gtagdp";
|
||||
public static final Logger LOGGER = LoggerFactory.getLogger(MOD_ID);
|
||||
|
||||
@Override
|
||||
public void onInitialize() {
|
||||
}
|
||||
}
|
14
src/main/java/de/jottyfan/gta/gdp/GTAGDPClient.java
Normal file
14
src/main/java/de/jottyfan/gta/gdp/GTAGDPClient.java
Normal file
@ -0,0 +1,14 @@
|
||||
package de.jottyfan.gta.gdp;
|
||||
|
||||
import net.fabricmc.api.ClientModInitializer;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author jotty
|
||||
*
|
||||
*/
|
||||
public class GTAGDPClient implements ClientModInitializer {
|
||||
@Override
|
||||
public void onInitializeClient() {
|
||||
}
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
package de.jottyfan.gta.dgp.mixin;
|
||||
package de.jottyfan.gta.gdp.mixin;
|
||||
|
||||
import net.minecraft.server.MinecraftServer;
|
||||
import org.spongepowered.asm.mixin.Mixin;
|
@ -3,20 +3,23 @@
|
||||
"id": "gtagdp",
|
||||
"version": "${version}",
|
||||
"name": "GTAGDP",
|
||||
"description": "This is an example description! Tell everyone what your mod is about!",
|
||||
"description": "The reference repository for the Minecraft Fabric Mod Development GTA",
|
||||
"authors": [
|
||||
"Me!"
|
||||
"jotty"
|
||||
],
|
||||
"contact": {
|
||||
"homepage": "https://fabricmc.net/",
|
||||
"sources": "https://github.com/FabricMC/fabric-example-mod"
|
||||
"homepage": "https://git.jottyfan.de/GTA_Minecraft_Fabric_Mod_Development/GTAGDP",
|
||||
"sources": "https://git.jottyfan.de/GTA_Minecraft_Fabric_Mod_Development/GTAGDP"
|
||||
},
|
||||
"license": "CC0-1.0",
|
||||
"license": "GNU AFFERO GENERAL PUBLIC LICENSE",
|
||||
"icon": "assets/gtagdp/icon.png",
|
||||
"environment": "*",
|
||||
"entrypoints": {
|
||||
"main": [
|
||||
"de.jottyfan.gta.dgp.GTAGDP"
|
||||
"de.jottyfan.gta.gdp.GTAGDP"
|
||||
],
|
||||
"client": [
|
||||
"de.jottyfan.gta.gdp.GTAGDPClient"
|
||||
]
|
||||
},
|
||||
"mixins": [
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"required": true,
|
||||
"package": "de.jottyfan.gta.dgp.mixin",
|
||||
"package": "de.jottyfan.gta.gdp.mixin",
|
||||
"compatibilityLevel": "JAVA_21",
|
||||
"mixins": [
|
||||
"ExampleMixin"
|
||||
|
Reference in New Issue
Block a user