mirror of
https://github.com/ViaVersion/ViaFabric.git
synced 2024-12-18 15:47:46 +01:00
0.2.2-SNAPSHOT, make compatible with latest ViaVersion, cotton-client-commands is actually included and is a dependency
This commit is contained in:
parent
83abb49752
commit
0973ddadec
14
README.md
14
README.md
@ -13,13 +13,13 @@ Note: ViaVersion is not designed for modded Minecraft with modified registries
|
||||
|
||||
|
||||
**Dependencies:**
|
||||
| Dependency | Download |
|
||||
| --- | --- |
|
||||
| ViaVersion 3.0.0+ | dev builds at https://ci.viaversion.com/job/ViaVersion-Abstraction/ |
|
||||
| Fabric Textures v0 | https://www.curseforge.com/minecraft/mc-mods/fabric-api |
|
||||
| Fabric Resource Loader v0 | https://www.curseforge.com/minecraft/mc-mods/fabric-api |
|
||||
| Fabric Commands v0 | https://www.curseforge.com/minecraft/mc-mods/fabric-api |
|
||||
| (Optional) Cotton Client Commands | https://www.curseforge.com/minecraft/mc-mods/cotton-client-commands |
|
||||
| Dependency | Download |
|
||||
| --------------------------------- | --------------------------------------------------------------------- |
|
||||
| ViaVersion 3.0.0+ | dev builds at https://ci.viaversion.com/job/ViaVersion-Abstraction/ |
|
||||
| Fabric Textures v0 | https://www.curseforge.com/minecraft/mc-mods/fabric-api |
|
||||
| Fabric Resource Loader v0 | https://www.curseforge.com/minecraft/mc-mods/fabric-api |
|
||||
| Fabric Commands v0 | https://www.curseforge.com/minecraft/mc-mods/fabric-api |
|
||||
| (Included) Cotton Client Commands | https://www.curseforge.com/minecraft/mc-mods/cotton-client-commands |
|
||||
|
||||
|
||||
With ViaVersion:
|
||||
|
@ -9,7 +9,7 @@ plugins {
|
||||
|
||||
group = "com.github.creeper123123321.viafabric"
|
||||
val gitVersion: groovy.lang.Closure<Any> by extra
|
||||
version = "0.2.2-SNAPSHOT+" + try {
|
||||
version = "0.2.3-SNAPSHOT+" + try {
|
||||
gitVersion()
|
||||
} catch (e: Exception) {
|
||||
"unknown"
|
||||
|
@ -63,10 +63,4 @@ public class VRDecodeHandler extends MessageToMessageDecoder<ByteBuf> {
|
||||
if (PipelineUtil.containsCause(cause, CancelException.class)) return;
|
||||
super.exceptionCaught(ctx, cause);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void channelInactive(ChannelHandlerContext ctx) throws Exception {
|
||||
super.channelInactive(ctx);
|
||||
Via.getManager().handleDisconnect(user);
|
||||
}
|
||||
}
|
||||
|
@ -66,10 +66,4 @@ public class FabricDecodeHandler extends MessageToMessageDecoder<ByteBuf> {
|
||||
if (PipelineUtil.containsCause(cause, CancelException.class)) return;
|
||||
super.exceptionCaught(ctx, cause);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void channelInactive(ChannelHandlerContext ctx) throws Exception {
|
||||
super.channelInactive(ctx); // May call decode
|
||||
Via.getManager().handleDisconnect(user);
|
||||
}
|
||||
}
|
@ -23,15 +23,15 @@
|
||||
]
|
||||
},
|
||||
"depends": {
|
||||
"cotton-client-commands": "*",
|
||||
"fabricloader": ">=0.4.0",
|
||||
"fabric-textures-v0": "*",
|
||||
"fabric-resource-loader-v0": "*",
|
||||
"fabric-commands-v0": "*",
|
||||
"viaversion": ">=3.0.0-SNAPSHOT",
|
||||
"minecraft": ">1.15.2"
|
||||
"minecraft": ">1.15.2",
|
||||
"viaversion": ">=3.0.0-SNAPSHOT"
|
||||
},
|
||||
"recommends": {
|
||||
"cotton-client-commands": "*"
|
||||
},
|
||||
"mixins": [
|
||||
"mixins.viafabric.json"
|
||||
|
Loading…
Reference in New Issue
Block a user