Skip to content

Commit

Permalink
Port
Browse files Browse the repository at this point in the history
  • Loading branch information
Faboslav committed Jul 11, 2024
1 parent 41034ee commit 65a89f5
Show file tree
Hide file tree
Showing 23 changed files with 7 additions and 22 deletions.
2 changes: 0 additions & 2 deletions common/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,4 @@ architectury {

dependencies {
modImplementation "net.fabricmc:fabric-loader:${fabric_loader_version}"

implementation(annotationProcessor("io.github.llamalad7:mixinextras-common:${mixin_extras_version}"))
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public final class BeekeeperHut
private static final Logger LOGGER = LoggerFactory.getLogger(BeekeeperHut.MOD_ID);

public static Identifier makeID(String path) {
return new Identifier(
return Identifier.of(
MOD_ID,
path
);
Expand Down
3 changes: 0 additions & 3 deletions fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ dependencies {
modImplementation "net.fabricmc:fabric-loader:${fabric_loader_version}"
modApi "net.fabricmc.fabric-api:fabric-api:${fabric_api_version}"

// Mixin extras (https://github.com/LlamaLad7/MixinExtras)
include(implementation(annotationProcessor("io.github.llamalad7:mixinextras-fabric:${mixin_extras_version}")))

modRuntimeOnly(modrinth("friends-and-foes", "fabric-mc${minecraft_version}-${friendsandfoes_version}"))

common(project(path: ":common", configuration: "namedElements")) { transitive false }
Expand Down
13 changes: 6 additions & 7 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,22 @@ mod_description=An addon for the Friends&Foes mod, adding a beekeeper hut struct
maven_group=com.faboslav.friendsandfoes.beekeeperhut

# Minecraft
minecraft_version=1.20.6
min_minecraft_version=1.20.5
minecraft_version=1.21
min_minecraft_version=1.21

#Mappings
yarn_mappings=1.20.6+build.1:v2
yarn_mappings_patch=1.20.5+build.3
yarn_mappings=1.21+build.4:v2
yarn_mappings_patch=1.21+build.4

# Architectury
enabled_platforms=fabric,neoforge

# Common
mixin_extras_version=0.3.6
friendsandfoes_version=2.0.11

# Fabric https://fabricmc.net/versions.html
fabric_loader_version=0.15.11
fabric_api_version=0.98.0+1.20.6
fabric_api_version=0.100.4+1.21

# Neoforge https://projects.neoforged.net/neoforged/neoforge
neoforge_version=20.6.119
neoforge_version=21.0.86-beta
9 changes: 0 additions & 9 deletions neoforge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,13 @@ configurations {
developmentNeoForge.extendsFrom common
}


loom {
accessWidenerPath = project(":common").loom.accessWidenerPath
}

dependencies {
neoForge "net.neoforged:neoforge:${neoforge_version}"

common(project(path: ":common", configuration: "namedElements")) { transitive false }
shadowCommon(project(path: ":common", configuration: "transformProductionNeoForge")) { transitive = false }

modRuntimeOnly(modrinth("friends-and-foes-forge", "neoforge-mc${minecraft_version}-${friendsandfoes_version}"))

// Mixin extras (https://github.com/LlamaLad7/MixinExtras)
implementation(annotationProcessor("io.github.llamalad7:mixinextras-common:${mixin_extras_version}"))
implementation(include("io.github.llamalad7:mixinextras-neoforge:${mixin_extras_version}"))
}

shadowJar {
Expand Down

0 comments on commit 65a89f5

Please sign in to comment.