Small fabric.mod.json and other update

Forge-1.14.4
szymon 2020-01-25 11:17:16 +01:00
parent db8d24e541
commit 83503307c8
3 changed files with 9 additions and 10 deletions

View File

@ -4,11 +4,11 @@ org.gradle.jvmargs=-Xmx1G
# Fabric Properties # Fabric Properties
# check these on https://fabricmc.net/use # check these on https://fabricmc.net/use
minecraft_version=1.15.2 minecraft_version=1.15.2
yarn_mappings=1.15.2+build.1 yarn_mappings=1.15.2+build.7
loader_version=0.7.5+build.178 loader_version=0.7.6+build.179
# Mod Properties # Mod Properties
mod_version = 1.0.0 mod_version = 1.0.0-1.15.2
maven_group = net.szum123321 maven_group = net.szum123321
archives_base_name = textile_backup archives_base_name = textile_backup

View File

@ -1,6 +1,5 @@
package net.szum123321.textile_backup.core; package net.szum123321.textile_backup.core;
import jdk.internal.jline.internal.Nullable;
import net.fabricmc.loader.api.FabricLoader; import net.fabricmc.loader.api.FabricLoader;
import net.minecraft.server.MinecraftServer; import net.minecraft.server.MinecraftServer;
import net.minecraft.server.command.ServerCommandSource; import net.minecraft.server.command.ServerCommandSource;
@ -23,7 +22,7 @@ public class BackupHelper {
.toFile(); .toFile();
} }
public static void log(String s, @Nullable ServerCommandSource ctx){ public static void log(String s, ServerCommandSource ctx){
if(ctx != null) if(ctx != null)
ctx.sendFeedback(new TranslatableText(s), true); ctx.sendFeedback(new TranslatableText(s), true);
@ -31,7 +30,7 @@ public class BackupHelper {
TextileBackup.logger.info(s); TextileBackup.logger.info(s);
} }
public static void error(String s, @Nullable ServerCommandSource ctx){ public static void error(String s, ServerCommandSource ctx){
if(ctx != null) if(ctx != null)
ctx.sendFeedback(new TranslatableText(s), true); ctx.sendFeedback(new TranslatableText(s), true);

View File

@ -4,13 +4,13 @@
"version": "${version}", "version": "${version}",
"name": "Textile Backup", "name": "Textile Backup",
"description": "This is an example description! Tell everyone what your mod is about!", "description": "Small, configurable, fully server-side backup mod for Fabric",
"authors": [ "authors": [
"Szum123321" "Szum123321"
], ],
"contact": { "contact": {
"homepage": "https://fabricmc.net/", "homepage": "https://www.curseforge.com/minecraft/mc-mods/textile-backup",
"sources": "https://github.com/FabricMC/fabric-example-mod" "sources": "https://github.com/Szum123321/textile_backup"
}, },
"license": "GPLv3", "license": "GPLv3",
@ -29,6 +29,6 @@
"depends": { "depends": {
"fabricloader": ">=0.7.2", "fabricloader": ">=0.7.2",
"fabric": "*", "fabric": "*",
"minecraft": "1.15.x" "minecraft": "1.15.2"
} }
} }