Skip to content

Commit 0396cff

Browse files
committed
Corrected Directory Locations, Corrected Gradle Errors, Corrected Version Number, Added Necessary Files
- Moved `resources` directories into their appropriate locations in both the `fabric` and `neoforge` modules - Corrected Gradle errors that prevented modules from loading - Partially removed unnecessary Gradle calls - Corrected version number to 10.0.0 - Added `McdwNeoForge` and `neoforge.mods.toml` files to continue to build out NeoForge module - Moved fzzyhmstrs from the `contributors` designation to the `authors` designation, where applicable. Added fzzyhmstrs to `authors` designation where not applicable - Added yuripo to `contributors` designation as an artist - Updated Fzzy Config from `0.5.9+1.21` -> `0.6.9+1.21`
1 parent a6c5ea4 commit 0396cff

7 files changed

Lines changed: 76 additions & 39 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,3 +121,4 @@ run/
121121
/script.js
122122
/src/ReferenceClasses/*.java
123123
/common/src/main/generated/.cache/
124+
/common/src/ReferenceClasses/

common/build.gradle

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,3 @@
1-
architectury {
2-
common(rootProject.enabled_platforms.split(","))
3-
}
4-
5-
6-
dependencies {
7-
// We depend on fabric loader here to use the fabric @Environment annotations and get the mixin dependencies
8-
// Do NOT use other classes from fabric loader
9-
modImplementation "net.fabricmc:fabric-loader:${rootProject.fabric_loader_version}"
10-
11-
//modCompileOnly "dev.emi:emi-xplat-intermediary:${rootProject.emi_version}+${rootProject.minecraft_version}"
12-
modCompileOnly "me.fzzyhmstrs:fzzy_config:${rootProject.fzzyConfigVersion}"
13-
}
14-
15-
publishing {
16-
publications {
17-
mavenCommon(MavenPublication) {
18-
artifactId = rootProject.archives_base_name
19-
from components.java
20-
}
21-
}
22-
23-
// See https://docs.gradle.org/current/userguide/publishing_maven.html for information on how to set up publishing.
24-
repositories {
25-
// Add repositories to publish to here.
26-
}
27-
}
28-
29-
30-
31-
/*
321
plugins {
332
id "com.github.johnrengelman.shadow" version "7.1.2"
343
}
@@ -121,4 +90,3 @@ publishing {
12190
fabricApi {
12291
configureDataGeneration()
12392
}
124-
*/

fabric/src/main/java/dev/timefall/mcdw/McdwFabric.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ public class McdwFabric implements ModInitializer {
1515

1616
@Override
1717
public void onInitialize() {
18+
McdwCommon.initialize();
1819
ConfigEnchantmentEnabledCondition.register();
1920
ConfigItemEnabledCondition.register();
20-
McdwCommon.initialize();
2121
DefaultAttributeRegistryFabric.registerAttributes();
2222
McdwFabricEvents.registerEvents();
2323
LootRegistryFabric.register();
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,21 @@
66
"description": "Add the weapons (and some tools) from Minecraft Dungeons to Minecraft Java",
77
"authors": [
88
"Chronosacaria",
9-
"Kluzzio"
9+
"Kluzzio",
10+
"fzzyhmstrs"
1011
],
1112
"contributors": [
1213
"Daedelus (Code)",
1314
"DaFuqs (Code)",
1415
"el0c (Code)",
1516
"Fourmisain (Code)",
16-
"fzzyhmstrs (Code)",
1717
"Krutyi-4el (Code)",
1818
"LordDeatHunter (Code)",
1919
"pizzaspren (Code)",
2020
"Kai1907 (Art)",
2121
"SeaOfPixels (Art)",
2222
"RDKRACZ (Art)",
23+
"yuripo (Art)",
2324
"Astro Monse (Translation, ru)",
2425
"Binaris00 (Translation, es)",
2526
"gyular (Translation, ko)",
@@ -44,7 +45,7 @@
4445
"dev.timefall.mcdw.client.McdwClient"
4546
],
4647
"main": [
47-
"dev.timefall.mcdw.Mcdw"
48+
"dev.timefall.mcdw.McdwFabric"
4849
]
4950
},
5051
"accessWidener": "mcdw.accesswidener",

gradle.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@ minecraft_version=1.21
44
enabled_platforms=fabric,neoforge
55

66
archives_base_name=mcdw
7-
mod_version=1.4.0
7+
mod_version=10.0.0
88
maven_group=dev.timefall
99

10-
fabric_loader_version=0.16.2
1110
fabric_api_version=0.102.0+1.21
11+
fabric_loader_version=0.16.2
1212

1313
neoforge_version=21.0.167
1414

1515
yarn_mappings=9
1616

17-
fzzyConfigVersion=0.5.9+1.21
17+
fzzyConfigVersion=0.6.9+1.21
1818

1919

2020

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
/*
2+
* Timefall Development License 1.2
3+
* Copyright (c) 2025. Chronosacaria, Kluzzio, Timefall Development. All Rights Reserved.
4+
*
5+
* This software's content is licensed under the Timefall Development License 1.2. You can find this license information here: https://github.com/Timefall-Development/Timefall-Development-Licence/blob/main/TimefallDevelopmentLicense1.2.txt
6+
*/
7+
8+
package dev.timefall.mcdw;
9+
10+
import net.neoforged.bus.api.IEventBus;
11+
import net.neoforged.fml.common.Mod;
12+
13+
@Mod(ModConstants.MOD_ID)
14+
public class McdwNeoForge {
15+
public McdwNeoForge(IEventBus modEventBus) {
16+
McdwCommon.initialize();
17+
18+
/*
19+
* Game Event Bus Events
20+
*/
21+
22+
23+
/*
24+
* Mod Event Bus Events
25+
*/
26+
27+
McdwCommon.LOGGER.info("Initializing MCDW on NeoForge!");
28+
}
29+
}
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
modLoader = "javafml"
2+
loaderVersion = "[1,)"
3+
issueTrackerURL = "https://www.github.com/chronosacaria/MCDungeonsWeapons/issues"
4+
license = "Timefall Development License 1.2"
5+
6+
[[mods]]
7+
modId = "mcdw"
8+
version = "${version}"
9+
displayName = "MC Dungeons Weapons"
10+
authors = "Chronosacaria, Kluzzio, fzzyhmstrs, yuripo (Art), SeaOfPixels (Art), SattesKrokodil (Art), Patreons (Support)"
11+
description = '''
12+
Add the weapons (and some tools) from Minecraft Dungeons to Minecraft Java
13+
'''
14+
logoFile = "assets/mcdw/icon.png"
15+
16+
[[dependencies.mcdw]]
17+
modId = "neoforge"
18+
type = "REQUIRED"
19+
versionRange = "[21.0.0-beta,)"
20+
ordering = "NONE"
21+
side = "BOTH"
22+
23+
[[dependencies.mcdw]]
24+
modId = "minecraft"
25+
type = "REQUIRED"
26+
versionRange = "[1.21,)"
27+
ordering = "NONE"
28+
side = "BOTH"
29+
30+
[[dependencies.mcdw]]
31+
modId = "fzzy_config"
32+
type = "REQUIRED"
33+
versionRange = "[0.6.0,)"
34+
ordering = "NONE"
35+
side = "BOTH"
36+
37+
[[mixins]]
38+
config="mcdw.mixins.json"

0 commit comments

Comments
 (0)