Skip to content

Commit fb6224a

Browse files
committed
Version 1.3.5 (for 1.20.6)
1 parent 77bfbac commit fb6224a

22 files changed

+285
-319
lines changed

CHANGELOG.txt

Lines changed: 0 additions & 87 deletions
This file was deleted.

README.md

Lines changed: 0 additions & 49 deletions
This file was deleted.

build.gradle

Lines changed: 6 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ plugins
22
{
33
id 'eclipse'
44
id 'idea'
5-
id 'maven-publish'
6-
id 'net.minecraftforge.gradle' version '[6.0.16,6.2)'
5+
id 'net.minecraftforge.gradle' version '[6.0.24,6.2)'
6+
id 'org.parchmentmc.librarian.forgegradle' version '1.+'
77
id 'org.spongepowered.mixin' version '0.7.+'
88
}
99

@@ -12,15 +12,15 @@ group = mod_group_id
1212

1313
base
1414
{
15-
archivesName = "${mod_jar_name}-FORGE-${minecraft_version}"
15+
archivesName = "${mod_jar_name}-FORGE-${minecraft_version}"
1616
}
1717

18-
java.toolchain.languageVersion = JavaLanguageVersion.of(17)
18+
java.toolchain.languageVersion = JavaLanguageVersion.of(21)
1919

20-
println "Java: ${System.getProperty 'java.version'}, JVM: ${System.getProperty 'java.vm.version'} (${System.getProperty 'java.vendor'}), Arch: ${System.getProperty 'os.arch'}"
2120
minecraft
2221
{
2322
mappings channel: mapping_channel, version: mapping_version
23+
reobf = false
2424
copyIdeResources = true
2525

2626
runs
@@ -42,6 +42,7 @@ sourceSets.main.resources { srcDir 'src/generated/resources' }
4242
dependencies
4343
{
4444
minecraft "net.minecraftforge:forge:${minecraft_version}-${forge_version}"
45+
implementation('net.sf.jopt-simple:jopt-simple:5.0.4') { version { strictly '5.0.4' } }
4546
annotationProcessor 'org.spongepowered:mixin:0.8.5:processor'
4647
}
4748

@@ -67,23 +68,6 @@ tasks.named('processResources', ProcessResources).configure
6768
filesMatching(['META-INF/mods.toml', 'pack.mcmeta']) { expand replaceProperties + [project: project] }
6869
}
6970

70-
tasks.named('jar', Jar).configure
71-
{
72-
manifest
73-
{
74-
attributes([
75-
'Specification-Title' : mod_id,
76-
'Specification-Vendor' : mod_authors,
77-
'Specification-Version' : '1',
78-
'Implementation-Title' : project.name,
79-
'Implementation-Version' : project.jar.archiveVersion,
80-
'Implementation-Vendor' : mod_authors
81-
])
82-
}
83-
84-
finalizedBy 'reobfJar'
85-
}
86-
8771
tasks.withType(JavaCompile).configureEach { options.encoding = 'UTF-8' }
8872

8973
eclipse { synchronizationTasks 'genEclipseRuns' }

gradle.properties

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
org.gradle.jvmargs=-Xmx3G
22
org.gradle.daemon=false
33

4-
minecraft_version=1.20.4
5-
forge_version=49.0.3
4+
minecraft_version=1.20.6
5+
forge_version=50.0.31
66

7-
minecraft_version_range=[1.20.3,1.20.5)
7+
minecraft_version_range=[1.20.5,1.21)
88
forge_version_range=[49,)
99
loader_version_range=[49,)
1010

11-
mapping_channel=official
12-
mapping_version=1.20.4
11+
mapping_channel=parchment
12+
mapping_version=2024.05.01-1.20.6
1313

1414

1515
## Mod Properties
1616
mod_id=mocap
17-
mod_version=1.3.4
17+
mod_version=1.3.5
1818

1919
mod_group_id=com.mt1006.mocap
2020
mod_jar_name=Mocap
2121

22-
mod_name=Motion Capture Mod (mocap)
23-
mod_license=GNU Lesser General Public License v3.0
22+
mod_name=Motion Capture
23+
mod_license=LGPL-3.0-only
2424

25-
mod_authors=mt1006 (mt1006x)
25+
mod_authors=mt1006
2626
mod_credits=Thanks to khitahi for making mod icon
2727
mod_description=Allows you to record and replay player movements
2828
mod_url=https://github.com/mt1006/mc-mocap-mod
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-all.zip
44
networkTimeout=10000
55
zipStoreBase=GRADLE_USER_HOME
66
zipStorePath=wrapper/dists

gradlew

100644100755
File mode changed.

settings.gradle

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,8 @@ pluginManagement
33
repositories
44
{
55
gradlePluginPortal()
6-
maven
7-
{
8-
name = 'MinecraftForge'
9-
url = 'https://maven.minecraftforge.net/'
10-
}
6+
maven { url = 'https://maven.minecraftforge.net/' }
7+
maven { url = 'https://maven.parchmentmc.org/' }
118
}
129
}
1310

src/main/java/com/mt1006/mocap/MocapMod.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
public class MocapMod
1717
{
1818
public static final String MOD_ID = "mocap";
19-
public static final String VERSION = "1.3.4";
20-
public static final String FOR_VERSION = "1.20.4";
19+
public static final String VERSION = "1.3.5";
20+
public static final String FOR_VERSION = "1.20.6";
2121
public static final String FOR_LOADER = "Forge";
2222
public static final Logger LOGGER = LogManager.getLogger();
2323
public static final boolean isDedicatedServer = FMLEnvironment.dist.isDedicatedServer();

src/main/java/com/mt1006/mocap/command/commands/MocapCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ private static int info(CommandContext<CommandSourceStack> ctx)
3131
{
3232
CommandInfo commandInfo = new CommandInfo(ctx);
3333
commandInfo.sendSuccessLiteral(MocapMod.getFullName());
34-
commandInfo.sendSuccessLiteral("Author: mt1006 (mt1006x)");
34+
commandInfo.sendSuccessLiteral("Author: mt1006");
3535
return 1;
3636
}
3737

src/main/java/com/mt1006/mocap/mixin/CommandSuggestionsMixin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
@Mixin(CommandSuggestions.class)
1515
public class CommandSuggestionsMixin
1616
{
17-
@Redirect(method = "updateCommandInfo", at = @At(value = "INVOKE", target = "Lcom/mojang/brigadier/CommandDispatcher;getCompletionSuggestions(Lcom/mojang/brigadier/ParseResults;I)Ljava/util/concurrent/CompletableFuture;"))
17+
@Redirect(method = "updateCommandInfo", at = @At(value = "INVOKE", target = "Lcom/mojang/brigadier/CommandDispatcher;getCompletionSuggestions(Lcom/mojang/brigadier/ParseResults;I)Ljava/util/concurrent/CompletableFuture;", remap = false))
1818
private <S> CompletableFuture<Suggestions> atListSuggestions(CommandDispatcher<S> dispatcher, final ParseResults<S> parse, int cursor)
1919
{
2020
CompletableFuture<Suggestions> suggestions = InputArgument.getSuggestions(parse.getContext(), parse.getReader().getString(), cursor);

0 commit comments

Comments
 (0)