Nothing to see here folks 👀

This commit is contained in:
2023-11-25 21:38:04 +02:00
parent 5f33dd06ab
commit 374acec24b
40 changed files with 1313 additions and 9 deletions

View File

@@ -107,7 +107,7 @@ publisher {
curseID = curse_id
modrinthID = modrinth_id
versionType = "release"
changelog = rootProject.file("changelog-fabric.md")
changelog = rootProject.file("changelog-forge.md")
version = "${minecraft_version}-${project.version}"
displayName = "[FORGE 1.20.2] CraterLib - ${project.version}"
gameVersions = ["1.20.2"]

View File

@@ -51,7 +51,7 @@ public class ForgeNetworkHandler implements CraterNetworkHandler {
}
@Override
public <T extends CraterPacket<T>> void registerPacket(Class<? extends T> clazz, Supplier<T> supplier, PacketDirection packetDirection) {
public <T extends CraterPacket<T>> void registerPacket(Class<T> clazz, Supplier<T> supplier, PacketDirection packetDirection) {
BiConsumer<T, FriendlyByteBuf> encoder = CraterPacket::write;
Function<FriendlyByteBuf, T> decoder = buf -> {
T packet = supplier.get();

View File

@@ -26,6 +26,6 @@ side = "BOTH"
[[dependencies.${mod_id}]]
modId = "minecraft"
mandatory = true
versionRange = "[1.20,)"
versionRange = "[1.20.2,1.21)"
ordering = "NONE"
side = "BOTH"

View File

@@ -1 +1 @@
com.hypherionmc.craterlib.client.ForgeClientHelper
com.hypherionmc.craterlib.client.NeoForgeClientHelper

View File

@@ -1 +1 @@
com.hypherionmc.craterlib.common.ForgeCommonHelper
com.hypherionmc.craterlib.common.NeoForgeCommonHelper

View File

@@ -1 +1 @@
com.hypherionmc.craterlib.common.ForgeFluidHelper
com.hypherionmc.craterlib.common.NeoForgeFluidHelper

View File

@@ -1 +1 @@
com.hypherionmc.craterlib.common.ForgeLoaderHelper
com.hypherionmc.craterlib.common.NeoForgeLoaderHelper