mirror of
https://github.com/ViaVersion/ViaForge.git
synced 2024-11-21 11:55:13 +01:00
Cleanup 1.12 mod metadata (#90)
acceptableRemoteVersions = "*", clientSideOnly=true Remove spam debug msg
This commit is contained in:
parent
e9e1aa0e4e
commit
4d01ae9eee
@ -31,7 +31,7 @@ import net.raphimc.vialegacy.protocols.release.protocol1_8to1_7_6_10.providers.G
|
||||
import java.io.File;
|
||||
import java.util.function.Supplier;
|
||||
|
||||
@Mod(modid = "viaforge")
|
||||
@Mod(modid = "viaforge", name = "ViaForge", acceptableRemoteVersions = "*", clientSideOnly=true, useMetadata=true)
|
||||
public class ViaForge1122 implements VFPlatform {
|
||||
|
||||
@Mod.EventHandler
|
||||
|
@ -40,7 +40,6 @@ public class MixinEntityPlayerSP extends AbstractClientPlayer {
|
||||
|
||||
@Redirect(method = "onUpdateWalkingPlayer", at = @At(value = "FIELD", target = "Lnet/minecraft/client/entity/EntityPlayerSP;prevOnGround:Z", ordinal = 0))
|
||||
public boolean emulateIdlePacket(EntityPlayerSP instance) {
|
||||
System.out.println(ViaForgeCommon.getManager().getTargetVersion());
|
||||
if (ViaForgeCommon.getManager().getTargetVersion().olderThanOrEqualTo(ProtocolVersion.v1_8)) {
|
||||
// <= 1.8 spams the idle packet instead of only sending it when the ground state changes
|
||||
// So we invert the original logic:
|
||||
|
@ -4,15 +4,12 @@
|
||||
"name": "ViaForge",
|
||||
"description": "Client-side Implementation of the Via* projects for Minecraft Forge",
|
||||
"version": "${version}",
|
||||
"mcversion": "[1.12.2]",
|
||||
"mcversion": "[1.12,)",
|
||||
"url": "https://github.com/ViaVersion/ViaForge",
|
||||
"updateUrl": "",
|
||||
"authorList": [
|
||||
"FlorianMichael/EnZaXD"
|
||||
],
|
||||
"credits": "https://github.com/FlorianMichael/",
|
||||
"logoFile": "icon.png",
|
||||
"screenshots": [],
|
||||
"dependencies": []
|
||||
"logoFile": "icon.png"
|
||||
}
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user