Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 2 additions & 40 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,40 +1,2 @@
# gradle

.gradle/
build/
out/
classes/

# eclipse

*.launch

# idea

.idea/
*.iml
*.ipr
*.iws

# vscode

.settings/
.vscode/
bin/
.classpath
.project

# macos

*.DS_Store

# fabric

run/

# java

hs_err_*.log
replay_*.log
*.hprof
*.jfr
build
.gradle
3 changes: 1 addition & 2 deletions Versionfiles/mcversion-1.21.4.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,4 @@ fabric_versiononly=0.113.0

modmenu_version=12.0.0

gbfabrictools_version=1.4+1.20
crowdintranslate_version=1.4+1.19.3
gbfabrictools_version=1.4+1.20
3 changes: 1 addition & 2 deletions Versionfiles/mcversion-1.21.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,4 @@ fabric_versiononly=0.100.4

modmenu_version=10.0.0-beta.1

gbfabrictools_version=1.4+1.20
crowdintranslate_version=1.4+1.19.3
gbfabrictools_version=1.4+1.20
26 changes: 0 additions & 26 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,33 +1,13 @@
buildscript {
dependencies {
classpath 'de.guntram.mcmod:crowdin-translate:1.4+1.19-pre2'
}
repositories {
maven {
name = 'CrowdinTranslate source'
url = "https://minecraft.guntram.de/maven/"
}
}
}

plugins {
id 'fabric-loom' version '1.9-SNAPSHOT'
id "com.modrinth.minotaur" version "2.+"
id "com.matthewprenger.cursegradle" version "1.4.0"
}

apply plugin: 'de.guntram.mcmod.crowdin-translate'
crowdintranslate.crowdinProjectName = 'antighost'
crowdintranslate.minecraftProjectName = 'antighost'
crowdintranslate.verbose = false

repositories {
maven {
url = "https://maven.fabricmc.net"
}
maven {
url = "https://minecraft.guntram.de/maven/"
}
maven {
url = "https://maven.terraformersmc.com/releases/com/terraformersmc/modmenu/"
}
Expand Down Expand Up @@ -61,8 +41,6 @@ dependencies {
mappings "net.fabricmc:yarn:${Versions['yarn_mappings']}:v2"
modImplementation "net.fabricmc:fabric-loader:${Versions['loader_version']}"
modImplementation "net.fabricmc.fabric-api:fabric-api:${Versions['fabric_version']}"
modImplementation "de.guntram.mcmod:crowdin-translate:${Versions['crowdintranslate_version']}"
include "de.guntram.mcmod:crowdin-translate:${Versions['crowdintranslate_version']}"
}

java {
Expand All @@ -72,7 +50,3 @@ java {
jar {
from "LICENSE"
}

processResources {
dependsOn downloadTranslations
}
252 changes: 252 additions & 0 deletions gradlew

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions src/main/java/de/guntram/mcmod/antighost/AntiGhost.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package de.guntram.mcmod.antighost;

import com.mojang.brigadier.arguments.IntegerArgumentType;
import de.guntram.mcmod.crowdintranslate.CrowdinTranslate;
import net.fabricmc.api.ClientModInitializer;
import net.fabricmc.fabric.api.client.command.v2.ClientCommandManager;
import net.fabricmc.fabric.api.client.command.v2.ClientCommandRegistrationCallback;
Expand Down Expand Up @@ -38,7 +37,6 @@ public void onInitializeClient() {
loadConfig();
final String category = "key.categories.antighost";
requestBlocksKey = new KeyBinding("key.antighost.reveal", GLFW_KEY_G, category);
CrowdinTranslate.downloadTranslations(MOD_ID);
KeyBindingHelper.registerKeyBinding(requestBlocksKey);
ClientTickEvents.END_CLIENT_TICK.register(e -> keyPressed());
ClientCommandRegistrationCallback.EVENT.register((dispatcher, registryAccess) -> {
Expand Down
Loading