[PORT] 1.20.6 port
This commit is contained in:
@@ -22,7 +22,7 @@ public class ServerGamePacketListenerImplMixin {
|
||||
public ServerPlayer player;
|
||||
|
||||
@Inject(
|
||||
method = "lambda$handleChat$6",
|
||||
method = "lambda$handleChat$5",
|
||||
at = @At("HEAD"),
|
||||
cancellable = true
|
||||
)
|
||||
|
@@ -36,7 +36,7 @@ public class CraterForgeNetworkHandler extends PacketRegistry {
|
||||
protected <T> void registerPacket(PacketHolder<T> holder) {
|
||||
if (CHANNELS.get(holder.messageType()) == null) {
|
||||
SimpleChannel channel = ChannelBuilder
|
||||
.named(holder.packetId().toMojang())
|
||||
.named(holder.type().id())
|
||||
.clientAcceptedVersions((a, b) -> true)
|
||||
.serverAcceptedVersions((a, b) -> true)
|
||||
.networkProtocolVersion(1)
|
||||
|
@@ -1,31 +1,31 @@
|
||||
modLoader = "javafml"
|
||||
loaderVersion = "[49,)"
|
||||
loaderVersion = "[50,)"
|
||||
license = "MIT"
|
||||
issueTrackerURL = "https://github.com/firstdarkdev/craterLib/issues"
|
||||
|
||||
[[mods]]
|
||||
modId = "${mod_id}"
|
||||
version = "${version}"
|
||||
displayName = "${mod_name}"
|
||||
displayURL = "https://modrinth.com/mod/craterlib"
|
||||
logoFile = "craterlib_logo.png"
|
||||
#credits="Thanks for this example mod goes to Java"
|
||||
authors = "${mod_author}, Zenith"
|
||||
description = '''
|
||||
A library mod used by First Dark Development and HypherionSA Mods
|
||||
'''
|
||||
displayTest = "MATCH_VERSION"
|
||||
modId = "${mod_id}"
|
||||
version = "${version}"
|
||||
displayName = "${mod_name}"
|
||||
displayURL = "https://modrinth.com/mod/craterlib"
|
||||
logoFile = "craterlib_logo.png"
|
||||
#credits="Thanks for this example mod goes to Java"
|
||||
authors = "${mod_author}, Zenith"
|
||||
description = '''
|
||||
A library mod used by First Dark Development and HypherionSA Mods
|
||||
'''
|
||||
displayTest = "NONE"
|
||||
|
||||
[[dependencies.${ mod_id }]]
|
||||
modId = "forge"
|
||||
mandatory = true
|
||||
versionRange = "[49,)"
|
||||
ordering = "NONE"
|
||||
side = "BOTH"
|
||||
modId = "forge"
|
||||
mandatory = true
|
||||
versionRange = "[50,)"
|
||||
ordering = "NONE"
|
||||
side = "BOTH"
|
||||
|
||||
[[dependencies.${ mod_id }]]
|
||||
modId = "minecraft"
|
||||
mandatory = true
|
||||
versionRange = "[1.20.4,1.21)"
|
||||
ordering = "NONE"
|
||||
side = "BOTH"
|
||||
modId = "minecraft"
|
||||
mandatory = true
|
||||
versionRange = "[1.20.6,1.21)"
|
||||
ordering = "NONE"
|
||||
side = "BOTH"
|
||||
|
Reference in New Issue
Block a user