adde0109 / proxy-compatible-forge Goto Github PK
View Code? Open in Web Editor NEWWorks with: 1.16.5 - 1.18.2 - 1.19.x - 1.20.x
License: Other
Works with: 1.16.5 - 1.18.2 - 1.19.x - 1.20.x
License: Other
I am able to join my main hub server under Velocity. But when I do /server msmp I get this error in the logs below, I will also put the full log file in here + I have forge installed and the exact mods:
Channels [cfm:network] rejected vanilla connections
latest.log
Velocity only supports Forge <1.13 using legacy forwarding.
I'm running a Velocity network with a mix of Paper and Fabric hosts with modern forwarding, and I'd like to put a Forge 1.12.2 server in that lobby without failing back to legacy Bukkit (which isn't supported by modern fabric anyway).
Would love to see a 1.19.4 Update
[10May2023 18:34:49.364] [Server thread/ERROR] [net.minecraft.server.network.ServerLoginPacketListenerImpl/]: Couldn't place player in world
| java.lang.NullPointerException: Cannot invoke "net.minecraftforge.network.ConnectionData.getChannels()" because "connectionData" is null
| at net.minecraft.commands.Commands.redirect$zzb000$sendCommands$grabPacket(Commands.java:523) ~[server-1.19.2-20220805.130853-srg.jar%23101!/:?]
| at net.minecraft.commands.Commands.m_82095_(Commands.java:298) ~[server-1.19.2-20220805.130853-srg.jar%23101!/:?]
| at net.minecraft.server.players.PlayerList.m_11226_(PlayerList.java:590) ~[server-1.19.2-20220805.130853-srg.jar%23101!/:?]
| at net.minecraft.server.players.PlayerList.m_11289_(PlayerList.java:483) ~[server-1.19.2-20220805.130853-srg.jar%23101!/:?]
| at net.minecraft.server.players.PlayerList.m_11261_(PlayerList.java:176) ~[server-1.19.2-20220805.130853-srg.jar%23101!/:?]
| at net.minecraft.server.network.ServerLoginPacketListenerImpl.m_143699_(ServerLoginPacketListenerImpl.java:156) ~[server-1.19.2-20220805.130853-srg.jar%23101!/:?]
| at net.minecraft.server.network.ServerLoginPacketListenerImpl.m_10055_(ServerLoginPacketListenerImpl.java:143) ~[server-1.19.2-20220805.130853-srg.jar%23101!/:?]
| at net.minecraft.server.network.ServerLoginPacketListenerImpl.m_9933_(ServerLoginPacketListenerImpl.java:75) ~[server-1.19.2-20220805.130853-srg.jar%23101!/:?]
| at net.minecraft.network.Connection.m_129483_(Connection.java:248) ~[server-1.19.2-20220805.130853-srg.jar%23101!/:?]
| at net.minecraft.server.network.ServerConnectionListener.m_9721_(ServerConnectionListener.java:143) ~[server-1.19.2-20220805.130853-srg.jar%23101!/:?]
| at net.minecraft.server.MinecraftServer.m_5703_(MinecraftServer.java:880) ~[server-1.19.2-20220805.130853-srg.jar%23101!/:?]
| at net.minecraft.server.dedicated.DedicatedServer.m_5703_(DedicatedServer.java:292) ~[server-1.19.2-20220805.130853-srg.jar%23101!/:?]
| at net.minecraft.server.MinecraftServer.m_5705_(MinecraftServer.java:806) ~[server-1.19.2-20220805.130853-srg.jar%23101!/:?]
| at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:654) ~[server-1.19.2-20220805.130853-srg.jar%23101!/:?]
| at net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:244) ~[server-1.19.2-20220805.130853-srg.jar%23101!/:?]
|
[Player] kicked from server ForgeTestServer: multiplayer.disconnect.invalid_player_data
Do you happen to know what may be causing this? I have one mod installed client-side (fork of Forge Client Reset Packet for 1.19.2). I have Ambassador installed on the proxy and I seem to have configured everything properly. I have not done anything in the Minecraft world that might cause a player data issue, I haven't even gotten to join the world properly yet. This mod is the only mod installed on the server.
Note that the setup does work on 1.16.5, just not 1.19.2. I have not tested 1.18.2.
ambassador-forge-1.18.2-0.2.1
error.log
The 1.18.x and 1.19.x branches fail to compile with the same message, error: Mixin has no targets
.
Let me what other info I can provide.
uname -srv
Linux 5.18.0-4-amd64 #1 SMP PREEMPT_DYNAMIC Debian 5.18.16-1 (2022-08-10)
java -version
openjdk version "17.0.3" 2022-04-19
OpenJDK Runtime Environment Temurin-17.0.3+7 (build 17.0.3+7)
OpenJDK 64-Bit Server VM Temurin-17.0.3+7 (build 17.0.3+7, mixed mode, sharing)
gradlew clean build...
unilock$ ./gradlew clean build
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.5/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build
> Configure project :
[MixinGradle] Skipping eclipse integration, extension not found
Java: 17.0.3 JVM: 17.0.3+7(Eclipse Adoptium) Arch: amd64
WARNING: This project is configured to use the official obfuscation mappings provided by Mojang. These mapping fall under their associated license, you should be fully aware of this license. For the latest license text, refer below, or the reference copy here: https://github.com/MinecraftForge/MCPConfig/blob/master/Mojang.md, You can hide this warning by running the `hideOfficialWarningUntilChanged` task
WARNING: (c) 2020 Microsoft Corporation. These mappings are provided "as-is" and you bear the risk of using them. You may copy and use the mappings for development purposes, but you may not redistribute the mappings complete and unmodified. Microsoft makes no warranties, express or implied, with respect to the mappings provided here. Use and modification of this document or the source code (in any form) of Minecraft: Java Edition is governed by the Minecraft End User License Agreement available at https://account.mojang.com/documents/minecraft_eula.
[16:59:29] [main/INFO]: Writing debug log file accesstransform.log
[16:59:29] [main/INFO]: Access Transformer processor running version 8.0.7+8.0.7+master.43473d43
[16:59:29] [main/INFO]: Command line arguments [--inJar, /home/unilock/projects/test/build/fg_cache/net/minecraftforge/forge/1.18.2-40.1.0/forge-1.18.2-40.1.0-injected.jar, --outJar, /home/unilock/projects/test/build/fg_cache/net/minecraftforge/forge/1.18.2-40.1.0_mapped_official_1.18.2/forge-1.18.2-40.1.0_mapped_official_1.18.2.jar, --logFile, accesstransform.log, --atFile, /home/unilock/projects/test/src/main/resources/META-INF/accesstransformer.cfg, --atFile, /home/unilock/projects/test/build/_atJar_4/parent_at.cfg]
[16:59:29] [main/INFO]: Reading from /home/unilock/projects/test/build/fg_cache/net/minecraftforge/forge/1.18.2-40.1.0/forge-1.18.2-40.1.0-injected.jar
[16:59:29] [main/INFO]: Writing to /home/unilock/projects/test/build/fg_cache/net/minecraftforge/forge/1.18.2-40.1.0_mapped_official_1.18.2/forge-1.18.2-40.1.0_mapped_official_1.18.2.jar
[16:59:29] [main/INFO]: Transformer file /home/unilock/projects/test/src/main/resources/META-INF/accesstransformer.cfg
[16:59:29] [main/INFO]: Transformer file /home/unilock/projects/test/build/_atJar_4/parent_at.cfg
[16:59:29] [main/WARN]: Found existing output jar /home/unilock/projects/test/build/fg_cache/net/minecraftforge/forge/1.18.2-40.1.0_mapped_official_1.18.2/forge-1.18.2-40.1.0_mapped_official_1.18.2.jar, overwriting
[16:59:33] [main/INFO]: JAR transformation complete /home/unilock/projects/test/build/fg_cache/net/minecraftforge/forge/1.18.2-40.1.0_mapped_official_1.18.2/forge-1.18.2-40.1.0_mapped_official_1.18.2.jar
Creating SRG -> MCP TSRG
> Task :compileJava FAILED
Note: SpongePowered MIXIN Annotation Processor Version=0.8.4 (MixinGradle Version=0.7.32)
Note: ObfuscationServiceMCP supports type: "notch"
Note: ObfuscationServiceFG3 supports type: "searge"
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:23: warning: Error processing public targets: java.lang.ClassCastException: class java.lang.String cannot be cast to class javax.lang.model.type.TypeMirror (java.lang.String is in module java.base of loader 'bootstrap'; javax.lang.model.type.TypeMirror is in module java.compiler of loader 'platform')
@Mixin(ServerLoginPacketListenerImpl.class)
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:23: error: Mixin has no targets
@Mixin(ServerLoginPacketListenerImpl.class)
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/command/CommandTreeSerializationMixin.java:17: warning: Error processing public targets: java.lang.ClassCastException: class java.lang.String cannot be cast to class javax.lang.model.type.TypeMirror (java.lang.String is in module java.base of loader 'bootstrap'; javax.lang.model.type.TypeMirror is in module java.compiler of loader 'platform')
@Mixin(ClientboundCommandsPacket.class)
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/command/CommandTreeSerializationMixin.java:17: error: Mixin has no targets
@Mixin(ClientboundCommandsPacket.class)
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/status/DisableStatusResponseCache.java:15: warning: Error processing public targets: java.lang.ClassCastException: class java.lang.String cannot be cast to class javax.lang.model.type.TypeMirror (java.lang.String is in module java.base of loader 'bootstrap'; javax.lang.model.type.TypeMirror is in module java.compiler of loader 'platform')
@Mixin(ClientboundStatusResponsePacket.class)
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/status/DisableStatusResponseCache.java:15: error: Mixin has no targets
@Mixin(ClientboundStatusResponsePacket.class)
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/status/StatusResponseSerializationMixin.java:14: warning: Error processing public targets: java.lang.ClassCastException: class java.lang.String cannot be cast to class javax.lang.model.type.TypeMirror (java.lang.String is in module java.base of loader 'bootstrap'; javax.lang.model.type.TypeMirror is in module java.compiler of loader 'platform')
@Mixin(ServerStatus.Serializer.class)
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/status/StatusResponseSerializationMixin.java:14: error: Mixin has no targets
@Mixin(ServerStatus.Serializer.class)
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/handshake/DisableFMLMarkerCheckMixin.java:9: warning: Error processing public targets: java.lang.ClassCastException: class java.lang.String cannot be cast to class javax.lang.model.type.TypeMirror (java.lang.String is in module java.base of loader 'bootstrap'; javax.lang.model.type.TypeMirror is in module java.compiler of loader 'platform')
@Mixin(value = ClientIntentionPacket.class, priority = 1200)
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/handshake/DisableFMLMarkerCheckMixin.java:9: error: Mixin has no targets
@Mixin(value = ClientIntentionPacket.class, priority = 1200)
^
Note: Writing refmap to /home/unilock/projects/test/build/tmp/compileJava/compileJava-refmap.json
Note: Writing refmap to /home/unilock/projects/test/build/tmp/compileJava/compileJava-refmap.json
Note: Writing searge composite mappings to /home/unilock/projects/test/build/tmp/compileJava/compileJava-mappings.tsrg
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/ModernForwarding.java:7: error: package net.minecraft.network does not exist
import net.minecraft.network.FriendlyByteBuf;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/ModernForwarding.java:8: error: package net.minecraft.network.protocol.login does not exist
import net.minecraft.network.protocol.login.ServerboundCustomQueryPacket;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/ModernForwarding.java:30: error: cannot find symbol
public GameProfile handleForwardingPacket(ServerboundCustomQueryPacket packet) {
^
symbol: class ServerboundCustomQueryPacket
location: class ModernForwarding
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/ModernForwarding.java:46: error: cannot find symbol
public boolean validate(FriendlyByteBuf buffer) {
^
symbol: class FriendlyByteBuf
location: class ModernForwarding
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/ModernForwarding.java:71: error: cannot find symbol
public void readProperties(FriendlyByteBuf buf, PropertyMap propertyMap) {
^
symbol: class FriendlyByteBuf
location: class ModernForwarding
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/HandshakeDataTransmitter.java:6: error: package net.minecraft.network does not exist
import net.minecraft.network.FriendlyByteBuf;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/HandshakeDataTransmitter.java:7: error: package net.minecraft.resources does not exist
import net.minecraft.resources.ResourceLocation;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/HandshakeDataTransmitter.java:8: error: package net.minecraftforge.network does not exist
import net.minecraftforge.network.ConfigSync;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/HandshakeDataTransmitter.java:9: error: package net.minecraftforge.network does not exist
import net.minecraftforge.network.HandshakeMessages;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/HandshakeDataTransmitter.java:10: error: package net.minecraftforge.registries does not exist
import net.minecraftforge.registries.RegistryManager;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/HandshakeDataTransmitter.java:85: error: cannot find symbol
private static void writePacket(FriendlyByteBuf byteBuf,int packetID, Consumer<FriendlyByteBuf> consumer) {
^
symbol: class FriendlyByteBuf
location: class HandshakeDataTransmitter
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/HandshakeDataTransmitter.java:85: error: cannot find symbol
private static void writePacket(FriendlyByteBuf byteBuf,int packetID, Consumer<FriendlyByteBuf> consumer) {
^
symbol: class FriendlyByteBuf
location: class HandshakeDataTransmitter
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/HandshakeDataTransmitter.java:97: error: package HandshakeMessages does not exist
private static void encode(HandshakeMessages.S2CRegistry config, FriendlyByteBuf buffer) {
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/HandshakeDataTransmitter.java:97: error: cannot find symbol
private static void encode(HandshakeMessages.S2CRegistry config, FriendlyByteBuf buffer) {
^
symbol: class FriendlyByteBuf
location: class HandshakeDataTransmitter
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/HandshakeDataTransmitter.java:104: error: package HandshakeMessages does not exist
private static void encode(HandshakeMessages.S2CConfigData config, FriendlyByteBuf buffer) {
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/HandshakeDataTransmitter.java:104: error: cannot find symbol
private static void encode(HandshakeMessages.S2CConfigData config, FriendlyByteBuf buffer) {
^
symbol: class FriendlyByteBuf
location: class HandshakeDataTransmitter
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:5: error: package net.minecraft.network does not exist
import net.minecraft.network.Connection;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:6: error: package net.minecraft.network does not exist
import net.minecraft.network.FriendlyByteBuf;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:7: error: package net.minecraft.server.network does not exist
import net.minecraft.server.network.ServerLoginPacketListenerImpl;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:8: error: package net.minecraft.network.protocol.login does not exist
import net.minecraft.network.protocol.login.ServerboundCustomQueryPacket;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:9: error: package net.minecraft.resources does not exist
import net.minecraft.resources.ResourceLocation;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:10: error: package net.minecraft.network.chat does not exist
import net.minecraft.network.chat.Component;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:11: error: package net.minecraft.network.chat does not exist
import net.minecraft.network.chat.TextComponent;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:12: error: package net.minecraftforge.network does not exist
import net.minecraftforge.network.NetworkDirection;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:28: error: cannot find symbol
private Connection connection;
^
symbol: class Connection
location: class ModernForwardingMixin
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:34: error: cannot find symbol
private void disconnect(Component p_194026_1_) {}
^
symbol: class Component
location: class ModernForwardingMixin
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:37: error: package ServerLoginPacketListenerImpl does not exist
private ServerLoginPacketListenerImpl.State state;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:39: error: cannot find symbol
private static final ResourceLocation VELOCITY_RESOURCE = new ResourceLocation("velocity:player_info");
^
symbol: class ResourceLocation
location: class ModernForwardingMixin
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:51: error: cannot find symbol
private void onHandleCustomQueryPacket(ServerboundCustomQueryPacket p_209526_1_, CallbackInfo ci) {
^
symbol: class ServerboundCustomQueryPacket
location: class ModernForwardingMixin
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/command/CommandTreeSerializationMixin.java:7: error: package net.minecraft.commands.synchronization does not exist
import net.minecraft.commands.synchronization.ArgumentTypes;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/command/CommandTreeSerializationMixin.java:8: error: package net.minecraft.network does not exist
import net.minecraft.network.FriendlyByteBuf;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/command/CommandTreeSerializationMixin.java:9: error: package net.minecraft.network.protocol.game does not exist
import net.minecraft.network.protocol.game.ClientboundCommandsPacket;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/command/CommandTreeSerializationMixin.java:10: error: package net.minecraft.resources does not exist
import net.minecraft.resources.ResourceLocation;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/command/CommandTreeSerializationMixin.java:19: error: cannot find symbol
private static final ResourceLocation MOD_ARGUMENT_INDICATOR = new ResourceLocation("crossstitch:mod_argument");
^
symbol: class ResourceLocation
location: class CommandTreeSerializationMixin
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/command/CommandTreeSerializationMixin.java:72: error: cannot find symbol
private static void writeNode$wrapInVelocityModArgument(FriendlyByteBuf packetByteBuf, ArgumentType<?> type) {
^
symbol: class FriendlyByteBuf
location: class CommandTreeSerializationMixin
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/command/CommandTreeSerializationMixin.java:88: error: cannot find symbol
private static void serializeWrappedArgumentType(FriendlyByteBuf packetByteBuf, ArgumentType argumentType, ArgumentTypes.Entry entry) {
^
symbol: class FriendlyByteBuf
location: class CommandTreeSerializationMixin
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/command/CommandTreeSerializationMixin.java:88: error: package ArgumentTypes does not exist
private static void serializeWrappedArgumentType(FriendlyByteBuf packetByteBuf, ArgumentType argumentType, ArgumentTypes.Entry entry) {
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/status/DisableStatusResponseCache.java:4: error: package net.minecraft.network.protocol.status does not exist
import net.minecraft.network.protocol.status.ServerStatus;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/status/DisableStatusResponseCache.java:5: error: package net.minecraft.network.protocol.status does not exist
import net.minecraft.network.protocol.status.ClientboundStatusResponsePacket;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/status/DisableStatusResponseCache.java:20: error: cannot find symbol
private ServerStatus status;
^
symbol: class ServerStatus
location: class DisableStatusResponseCache
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/status/StatusResponseSerializationMixin.java:4: error: package net.minecraft.network.protocol.status does not exist
import net.minecraft.network.protocol.status.ServerStatus;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/handshake/DisableFMLMarkerCheckMixin.java:3: error: package net.minecraft.network.protocol.handshake does not exist
import net.minecraft.network.protocol.handshake.ClientIntentionPacket;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/Ambassador.java:4: error: package net.minecraftforge.common does not exist
import net.minecraftforge.common.ForgeConfigSpec;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/Ambassador.java:5: error: package net.minecraftforge.common does not exist
import net.minecraftforge.common.MinecraftForge;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/Ambassador.java:10: error: package net.minecraftforge.event.server does not exist
import net.minecraftforge.event.server.ServerAboutToStartEvent;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/Ambassador.java:11: error: package net.minecraftforge.network does not exist
import net.minecraftforge.network.NetworkConstants;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/Ambassador.java:35: error: cannot find symbol
public void serverAbutToStart(ServerAboutToStartEvent event) {
^
symbol: class ServerAboutToStartEvent
location: class Ambassador
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/Ambassador.java:43: error: cannot find symbol
static final ForgeConfigSpec configSpec;
^
symbol: class ForgeConfigSpec
location: class Ambassador
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/Ambassador.java:51: error: package ForgeConfigSpec does not exist
public final ForgeConfigSpec.ConfigValue<? extends String> forwardingSecret;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/Ambassador.java:53: error: package ForgeConfigSpec does not exist
Config(ForgeConfigSpec.Builder builder)
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:23: error: cannot find symbol
@Mixin(ServerLoginPacketListenerImpl.class)
^
symbol: class ServerLoginPacketListenerImpl
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/command/CommandTreeSerializationMixin.java:17: error: cannot find symbol
@Mixin(ClientboundCommandsPacket.class)
^
symbol: class ClientboundCommandsPacket
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/status/DisableStatusResponseCache.java:15: error: cannot find symbol
@Mixin(ClientboundStatusResponsePacket.class)
^
symbol: class ClientboundStatusResponsePacket
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/status/StatusResponseSerializationMixin.java:14: error: package ServerStatus does not exist
@Mixin(ServerStatus.Serializer.class)
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/handshake/DisableFMLMarkerCheckMixin.java:9: error: cannot find symbol
@Mixin(value = ClientIntentionPacket.class, priority = 1200)
^
symbol: class ClientIntentionPacket
Note: Writing refmap to /home/unilock/projects/test/build/tmp/compileJava/compileJava-refmap.json
Note: Writing refmap to /home/unilock/projects/test/build/tmp/compileJava/compileJava-refmap.json
Note: Writing searge composite mappings to /home/unilock/projects/test/build/tmp/compileJava/compileJava-mappings.tsrg
60 errors
5 warnings
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.5/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 39s
5 actionable tasks: 5 executed
unilock$ ./gradlew clean build
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.5.1/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build
> Configure project :
[MixinGradle] Skipping eclipse integration, extension not found
Java: 17.0.3 JVM: 17.0.3+7(Eclipse Adoptium) Arch: amd64
WARNING: This project is configured to use the official obfuscation mappings provided by Mojang. These mapping fall under their associated license, you should be fully aware of this license. For the latest license text, refer below, or the reference copy here: https://github.com/MinecraftForge/MCPConfig/blob/master/Mojang.md, You can hide this warning by running the `hideOfficialWarningUntilChanged` task
WARNING: (c) 2020 Microsoft Corporation. These mappings are provided "as-is" and you bear the risk of using them. You may copy and use the mappings for development purposes, but you may not redistribute the mappings complete and unmodified. Microsoft makes no warranties, express or implied, with respect to the mappings provided here. Use and modification of this document or the source code (in any form) of Minecraft: Java Edition is governed by the Minecraft End User License Agreement available at https://account.mojang.com/documents/minecraft_eula.
[17:03:18] [main/INFO]: Writing debug log file accesstransform.log
[17:03:18] [main/INFO]: Access Transformer processor running version 8.0.7+8.0.7+master.43473d43
[17:03:18] [main/INFO]: Command line arguments [--inJar, /home/unilock/projects/test/build/fg_cache/net/minecraftforge/forge/1.19.2-43.1.3/forge-1.19.2-43.1.3-injected.jar, --outJar, /home/unilock/projects/test/build/fg_cache/net/minecraftforge/forge/1.19.2-43.1.3_mapped_official_1.19.2/forge-1.19.2-43.1.3_mapped_official_1.19.2.jar, --logFile, accesstransform.log, --atFile, /home/unilock/projects/test/src/main/resources/META-INF/accesstransformer.cfg, --atFile, /home/unilock/projects/test/build/_atJar_4/parent_at.cfg]
[17:03:18] [main/INFO]: Reading from /home/unilock/projects/test/build/fg_cache/net/minecraftforge/forge/1.19.2-43.1.3/forge-1.19.2-43.1.3-injected.jar
[17:03:18] [main/INFO]: Writing to /home/unilock/projects/test/build/fg_cache/net/minecraftforge/forge/1.19.2-43.1.3_mapped_official_1.19.2/forge-1.19.2-43.1.3_mapped_official_1.19.2.jar
[17:03:18] [main/INFO]: Transformer file /home/unilock/projects/test/src/main/resources/META-INF/accesstransformer.cfg
[17:03:18] [main/INFO]: Transformer file /home/unilock/projects/test/build/_atJar_4/parent_at.cfg
[17:03:18] [main/WARN]: Found existing output jar /home/unilock/projects/test/build/fg_cache/net/minecraftforge/forge/1.19.2-43.1.3_mapped_official_1.19.2/forge-1.19.2-43.1.3_mapped_official_1.19.2.jar, overwriting
[17:03:23] [main/INFO]: JAR transformation complete /home/unilock/projects/test/build/fg_cache/net/minecraftforge/forge/1.19.2-43.1.3_mapped_official_1.19.2/forge-1.19.2-43.1.3_mapped_official_1.19.2.jar
Creating SRG -> MCP TSRG
> Task :compileJava FAILED
Note: SpongePowered MIXIN Annotation Processor Version=0.8.5 (MixinGradle Version=0.7.32)
Note: Supported obfuscation types: ObfuscationServiceMCP supports [notch] ObfuscationServiceFG3 supports [searge]
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:22: error: Mixin has no targets
@Mixin(ServerLoginPacketListenerImpl.class)
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/command/CommandTreeSerializationMixin.java:21: error: Mixin target net.minecraft.network.protocol.game.ClientboundCommandsPacket$ArgumentNodeStub could not be found
@Mixin(targets = "net.minecraft.network.protocol.game.ClientboundCommandsPacket$ArgumentNodeStub")
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/status/DisableStatusResponseCache.java:12: error: Mixin has no targets
@Mixin(ClientboundStatusResponsePacket.class)
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/status/StatusResponseSerializationMixin.java:14: error: Mixin has no targets
@Mixin(ServerStatus.Serializer.class)
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/handshake/DisableFMLMarkerCheckMixin.java:9: error: Mixin has no targets
@Mixin(value = ClientIntentionPacket.class, priority = 1200)
^
Note: Writing refmap to /home/unilock/projects/test/build/tmp/compileJava/compileJava-refmap.json
Note: Writing refmap to /home/unilock/projects/test/build/tmp/compileJava/compileJava-refmap.json
Note: Writing searge composite mappings to /home/unilock/projects/test/build/tmp/compileJava/compileJava-mappings.tsrg
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/ModernForwarding.java:7: error: package net.minecraft.network does not exist
import net.minecraft.network.FriendlyByteBuf;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/ModernForwarding.java:8: error: package net.minecraft.network.protocol.login does not exist
import net.minecraft.network.protocol.login.ServerboundCustomQueryPacket;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/ModernForwarding.java:30: error: cannot find symbol
public GameProfile handleForwardingPacket(ServerboundCustomQueryPacket packet) {
^
symbol: class ServerboundCustomQueryPacket
location: class ModernForwarding
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/ModernForwarding.java:46: error: cannot find symbol
public boolean validate(FriendlyByteBuf buffer) {
^
symbol: class FriendlyByteBuf
location: class ModernForwarding
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/ModernForwarding.java:71: error: cannot find symbol
public void readProperties(FriendlyByteBuf buf, PropertyMap propertyMap) {
^
symbol: class FriendlyByteBuf
location: class ModernForwarding
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/HandshakeDataTransmitter.java:6: error: package net.minecraft.network does not exist
import net.minecraft.network.FriendlyByteBuf;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/HandshakeDataTransmitter.java:7: error: package net.minecraft.resources does not exist
import net.minecraft.resources.ResourceLocation;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/HandshakeDataTransmitter.java:8: error: package net.minecraftforge.network does not exist
import net.minecraftforge.network.ConfigSync;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/HandshakeDataTransmitter.java:9: error: package net.minecraftforge.network does not exist
import net.minecraftforge.network.HandshakeMessages;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/HandshakeDataTransmitter.java:10: error: package net.minecraftforge.registries does not exist
import net.minecraftforge.registries.RegistryManager;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/HandshakeDataTransmitter.java:85: error: cannot find symbol
private static void writePacket(FriendlyByteBuf byteBuf,int packetID, Consumer<FriendlyByteBuf> consumer) {
^
symbol: class FriendlyByteBuf
location: class HandshakeDataTransmitter
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/HandshakeDataTransmitter.java:85: error: cannot find symbol
private static void writePacket(FriendlyByteBuf byteBuf,int packetID, Consumer<FriendlyByteBuf> consumer) {
^
symbol: class FriendlyByteBuf
location: class HandshakeDataTransmitter
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/HandshakeDataTransmitter.java:97: error: package HandshakeMessages does not exist
private static void encode(HandshakeMessages.S2CRegistry config, FriendlyByteBuf buffer) {
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/HandshakeDataTransmitter.java:97: error: cannot find symbol
private static void encode(HandshakeMessages.S2CRegistry config, FriendlyByteBuf buffer) {
^
symbol: class FriendlyByteBuf
location: class HandshakeDataTransmitter
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/HandshakeDataTransmitter.java:104: error: package HandshakeMessages does not exist
private static void encode(HandshakeMessages.S2CConfigData config, FriendlyByteBuf buffer) {
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/HandshakeDataTransmitter.java:104: error: cannot find symbol
private static void encode(HandshakeMessages.S2CConfigData config, FriendlyByteBuf buffer) {
^
symbol: class FriendlyByteBuf
location: class HandshakeDataTransmitter
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:5: error: package net.minecraft.network does not exist
import net.minecraft.network.Connection;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:6: error: package net.minecraft.network does not exist
import net.minecraft.network.FriendlyByteBuf;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:7: error: package net.minecraft.network.chat does not exist
import net.minecraft.network.chat.Component;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:8: error: package net.minecraft.network.protocol.login does not exist
import net.minecraft.network.protocol.login.ServerboundCustomQueryPacket;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:9: error: package net.minecraft.resources does not exist
import net.minecraft.resources.ResourceLocation;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:10: error: package net.minecraft.server.network does not exist
import net.minecraft.server.network.ServerLoginPacketListenerImpl;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:11: error: package net.minecraftforge.network does not exist
import net.minecraftforge.network.NetworkDirection;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:27: error: cannot find symbol
private Connection connection;
^
symbol: class Connection
location: class ModernForwardingMixin
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:33: error: cannot find symbol
private void disconnect(Component p_194026_1_) {}
^
symbol: class Component
location: class ModernForwardingMixin
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:36: error: package ServerLoginPacketListenerImpl does not exist
private ServerLoginPacketListenerImpl.State state;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:38: error: cannot find symbol
private static final ResourceLocation VELOCITY_RESOURCE = new ResourceLocation("velocity:player_info");
^
symbol: class ResourceLocation
location: class ModernForwardingMixin
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:50: error: cannot find symbol
private void onHandleCustomQueryPacket(ServerboundCustomQueryPacket p_209526_1_, CallbackInfo ci) {
^
symbol: class ServerboundCustomQueryPacket
location: class ModernForwardingMixin
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/command/CommandTreeSerializationMixin.java:7: error: package net.minecraft.commands.synchronization does not exist
import net.minecraft.commands.synchronization.ArgumentTypeInfo;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/command/CommandTreeSerializationMixin.java:8: error: package net.minecraft.core does not exist
import net.minecraft.core.Registry;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/command/CommandTreeSerializationMixin.java:9: error: package net.minecraft.network does not exist
import net.minecraft.network.FriendlyByteBuf;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/command/CommandTreeSerializationMixin.java:10: error: package net.minecraft.resources does not exist
import net.minecraft.resources.ResourceKey;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/command/CommandTreeSerializationMixin.java:24: error: package ArgumentTypeInfo does not exist
@Shadow @Final private ArgumentTypeInfo.Template<?> argumentType;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/command/CommandTreeSerializationMixin.java:81: error: package ArgumentTypeInfo does not exist
private static <A extends ArgumentType<?>, T extends ArgumentTypeInfo.Template<A>> void writeNode$wrapInVelocityModArgument(FriendlyByteBuf buf, ArgumentTypeInfo<A, T> serializer, ArgumentTypeInfo.Template<A> properties, CallbackInfo ci) {
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/command/CommandTreeSerializationMixin.java:81: error: cannot find symbol
private static <A extends ArgumentType<?>, T extends ArgumentTypeInfo.Template<A>> void writeNode$wrapInVelocityModArgument(FriendlyByteBuf buf, ArgumentTypeInfo<A, T> serializer, ArgumentTypeInfo.Template<A> properties, CallbackInfo ci) {
^
symbol: class FriendlyByteBuf
location: class CommandTreeSerializationMixin
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/command/CommandTreeSerializationMixin.java:81: error: cannot find symbol
private static <A extends ArgumentType<?>, T extends ArgumentTypeInfo.Template<A>> void writeNode$wrapInVelocityModArgument(FriendlyByteBuf buf, ArgumentTypeInfo<A, T> serializer, ArgumentTypeInfo.Template<A> properties, CallbackInfo ci) {
^
symbol: class ArgumentTypeInfo
location: class CommandTreeSerializationMixin
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/command/CommandTreeSerializationMixin.java:81: error: package ArgumentTypeInfo does not exist
private static <A extends ArgumentType<?>, T extends ArgumentTypeInfo.Template<A>> void writeNode$wrapInVelocityModArgument(FriendlyByteBuf buf, ArgumentTypeInfo<A, T> serializer, ArgumentTypeInfo.Template<A> properties, CallbackInfo ci) {
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/command/CommandTreeSerializationMixin.java:98: error: package ArgumentTypeInfo does not exist
private static <A extends ArgumentType<?>, T extends ArgumentTypeInfo.Template<A>> void serializeWrappedArgumentType(FriendlyByteBuf packetByteBuf, ArgumentTypeInfo<A, T> serializer, ArgumentTypeInfo.Template<A> properties) {
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/command/CommandTreeSerializationMixin.java:98: error: cannot find symbol
private static <A extends ArgumentType<?>, T extends ArgumentTypeInfo.Template<A>> void serializeWrappedArgumentType(FriendlyByteBuf packetByteBuf, ArgumentTypeInfo<A, T> serializer, ArgumentTypeInfo.Template<A> properties) {
^
symbol: class FriendlyByteBuf
location: class CommandTreeSerializationMixin
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/command/CommandTreeSerializationMixin.java:98: error: cannot find symbol
private static <A extends ArgumentType<?>, T extends ArgumentTypeInfo.Template<A>> void serializeWrappedArgumentType(FriendlyByteBuf packetByteBuf, ArgumentTypeInfo<A, T> serializer, ArgumentTypeInfo.Template<A> properties) {
^
symbol: class ArgumentTypeInfo
location: class CommandTreeSerializationMixin
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/command/CommandTreeSerializationMixin.java:98: error: package ArgumentTypeInfo does not exist
private static <A extends ArgumentType<?>, T extends ArgumentTypeInfo.Template<A>> void serializeWrappedArgumentType(FriendlyByteBuf packetByteBuf, ArgumentTypeInfo<A, T> serializer, ArgumentTypeInfo.Template<A> properties) {
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/status/DisableStatusResponseCache.java:4: error: package net.minecraft.network.protocol.status does not exist
import net.minecraft.network.protocol.status.ClientboundStatusResponsePacket;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/status/DisableStatusResponseCache.java:5: error: package net.minecraft.network.protocol.status does not exist
import net.minecraft.network.protocol.status.ServerStatus;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/status/DisableStatusResponseCache.java:17: error: cannot find symbol
private ServerStatus status;
^
symbol: class ServerStatus
location: class DisableStatusResponseCache
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/status/StatusResponseSerializationMixin.java:4: error: package net.minecraft.network.protocol.status does not exist
import net.minecraft.network.protocol.status.ServerStatus;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/handshake/DisableFMLMarkerCheckMixin.java:3: error: package net.minecraft.network.protocol.handshake does not exist
import net.minecraft.network.protocol.handshake.ClientIntentionPacket;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/Ambassador.java:4: error: package net.minecraftforge.common does not exist
import net.minecraftforge.common.ForgeConfigSpec;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/Ambassador.java:5: error: package net.minecraftforge.common does not exist
import net.minecraftforge.common.MinecraftForge;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/Ambassador.java:9: error: package net.minecraftforge.event.server does not exist
import net.minecraftforge.event.server.ServerAboutToStartEvent;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/Ambassador.java:33: error: cannot find symbol
public void serverAbutToStart(ServerAboutToStartEvent event) {
^
symbol: class ServerAboutToStartEvent
location: class Ambassador
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/Ambassador.java:40: error: cannot find symbol
static final ForgeConfigSpec configSpec;
^
symbol: class ForgeConfigSpec
location: class Ambassador
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/Ambassador.java:48: error: package ForgeConfigSpec does not exist
public final ForgeConfigSpec.ConfigValue<? extends String> forwardingSecret;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/Ambassador.java:50: error: package ForgeConfigSpec does not exist
Config(ForgeConfigSpec.Builder builder)
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:22: error: cannot find symbol
@Mixin(ServerLoginPacketListenerImpl.class)
^
symbol: class ServerLoginPacketListenerImpl
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/status/DisableStatusResponseCache.java:12: error: cannot find symbol
@Mixin(ClientboundStatusResponsePacket.class)
^
symbol: class ClientboundStatusResponsePacket
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/status/StatusResponseSerializationMixin.java:14: error: package ServerStatus does not exist
@Mixin(ServerStatus.Serializer.class)
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/handshake/DisableFMLMarkerCheckMixin.java:9: error: cannot find symbol
@Mixin(value = ClientIntentionPacket.class, priority = 1200)
^
symbol: class ClientIntentionPacket
Note: Writing refmap to /home/unilock/projects/test/build/tmp/compileJava/compileJava-refmap.json
Note: Writing refmap to /home/unilock/projects/test/build/tmp/compileJava/compileJava-refmap.json
Note: Writing searge composite mappings to /home/unilock/projects/test/build/tmp/compileJava/compileJava-mappings.tsrg
62 errors
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
==============================================================================
2: Task failed with an exception.
-----------
* What went wrong:
java.lang.StackOverflowError (no error message)
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
==============================================================================
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.5.1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 41s
5 actionable tasks: 5 executed
Currently when using LuckPerms the following error is displayed:
[lp] permissions data for your user was not loaded during the pre-login
I believe the cause of this is that the pre-login UUID is not the proper UUID yet, but when they go to fully join it has changed by then.
logs:
[12:50:42] [Server thread/INFO] [minecraft/PlayerList]: niclan051[/192.168.1.48:64341] logged in with entity id 3 at (-41.5, 67.0, -87.5)
[12:50:42] [Server thread/ERROR] [minecraft/ServerLoginPacketListenerImpl]: Couldn't place player in world
java.lang.NullPointerException: Cannot invoke "net.minecraftforge.network.ConnectionData.getChannels()" because "connectionData" is null
at net.minecraft.commands.Commands.redirect$zzb000$sendCommands$grabPacket(Commands.java:523) ~[server-1.19.2-20220805.130853-srg.jar%23101!/:?] {re:mixin,re:classloading,pl:mixin:APP:pcf.mixins.json:command.CommandsMixin,pl:mixin:A}
at net.minecraft.commands.Commands.m_82095_(Commands.java:298) ~[server-1.19.2-20220805.130853-srg.jar%23101!/:?] {re:mixin,re:classloading,pl:mixin:APP:pcf.mixins.json:command.CommandsMixin,pl:mixin:A}
at net.minecraft.server.players.PlayerList.m_11226_(PlayerList.java:590) ~[server-1.19.2-20220805.130853-srg.jar%23101!/:?] {re:classloading}
at net.minecraft.server.players.PlayerList.m_11289_(PlayerList.java:483) ~[server-1.19.2-20220805.130853-srg.jar%23101!/:?] {re:classloading}
at net.minecraft.server.players.PlayerList.m_11261_(PlayerList.java:176) ~[server-1.19.2-20220805.130853-srg.jar%23101!/:?] {re:classloading}
at net.minecraft.server.network.ServerLoginPacketListenerImpl.m_143699_(ServerLoginPacketListenerImpl.java:156) ~[server-1.19.2-20220805.130853-srg.jar%23101!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:pcf.mixins.json:login.ServerLoginPacketListenerPlaceholderMixin,pl:mixin:APP:pcf.mixins.json:login.ModernForwardingMixin,pl:mixin:A}
at net.minecraft.server.network.ServerLoginPacketListenerImpl.m_10055_(ServerLoginPacketListenerImpl.java:143) ~[server-1.19.2-20220805.130853-srg.jar%23101!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:pcf.mixins.json:login.ServerLoginPacketListenerPlaceholderMixin,pl:mixin:APP:pcf.mixins.json:login.ModernForwardingMixin,pl:mixin:A}
at net.minecraft.server.network.ServerLoginPacketListenerImpl.m_9933_(ServerLoginPacketListenerImpl.java:75) ~[server-1.19.2-20220805.130853-srg.jar%23101!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:pcf.mixins.json:login.ServerLoginPacketListenerPlaceholderMixin,pl:mixin:APP:pcf.mixins.json:login.ModernForwardingMixin,pl:mixin:A}
at net.minecraft.network.Connection.m_129483_(Connection.java:248) ~[server-1.19.2-20220805.130853-srg.jar%23101!/:?] {re:mixin,re:classloading,pl:mixin:APP:pcf.mixins.json:login.ConnectionMixin,pl:mixin:A}
at net.minecraft.server.network.ServerConnectionListener.m_9721_(ServerConnectionListener.java:143) ~[server-1.19.2-20220805.130853-srg.jar%23101!/:?] {re:classloading}
at net.minecraft.server.MinecraftServer.m_5703_(MinecraftServer.java:880) ~[server-1.19.2-20220805.130853-srg.jar%23101!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.server.dedicated.DedicatedServer.m_5703_(DedicatedServer.java:292) ~[server-1.19.2-20220805.130853-srg.jar%23101!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.server.MinecraftServer.m_5705_(MinecraftServer.java:806) ~[server-1.19.2-20220805.130853-srg.jar%23101!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:654) ~[server-1.19.2-20220805.130853-srg.jar%23101!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:244) ~[server-1.19.2-20220805.130853-srg.jar%23101!/:?] {re:classloading,pl:accesstransformer:B}
at java.lang.Thread.run(Thread.java:1623) [?:?] {}
[12:50:42] [Server thread/INFO] [minecraft/ServerGamePacketListenerImpl]: niclan051 lost connection: Invalid player data
[12:50:42] [Server thread/INFO] [minecraft/MinecraftServer]: niclan051 left the game
[12:50:42] [Server thread/WARN] [minecraft/Connection]: handleDisconnection() called twice
also if i dont have the mod on the server and try to connect through the proxy, i get this error:
[14:51:54] [Netty Epoll Server IO #6/ERROR] [minecraft/NettyPacketEncoder]: Error encoding packet io.netty.handler.codec.EncoderException: String too big (was 33301 bytes encoded, max 32767) at net.minecraft.network.PacketBuffer.func_211400_a(PacketBuffer.java:357) ~[?:?] {re:mixin,re:classloading} at net.minecraft.network.PacketBuffer.func_180714_a(PacketBuffer.java:351) ~[?:?] {re:mixin,re:classloading} at net.minecraft.network.status.server.SServerInfoPacket.func_148840_b(SServerInfoPacket.java:33) ~[?:?]
MAX_DATA_LENGTH value is too big in HandshakeDataTransmitter.java at line 26
happened today to one of the players: https://pastebin.com/raw/cjuLyyBp
title, tried with 1.1.3 and 1.1.4 same results
The 1.16.5 branch fails to compile, with the message error: package net.minecraft.network does not exist
.
Let me what other info I can provide.
uname -srv
Linux 5.18.0-4-amd64 #1 SMP PREEMPT_DYNAMIC Debian 5.18.16-1 (2022-08-10)
java -version
openjdk version "17.0.3" 2022-04-19
OpenJDK Runtime Environment Temurin-17.0.3+7 (build 17.0.3+7)
OpenJDK 64-Bit Server VM Temurin-17.0.3+7 (build 17.0.3+7, mixed mode, sharing)
gradlew clean build
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.5/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build
> Configure project :
[MixinGradle] Skipping eclipse integration, extension not found
Java: 17.0.3 JVM: 17.0.3+7(Eclipse Adoptium) Arch: amd64
WARNING: This project is configured to use the official obfuscation mappings provided by Mojang. These mapping fall under their associated license, you should be fully aware of this license. For the latest license text, refer below, or the reference copy here: https://github.com/MinecraftForge/MCPConfig/blob/master/Mojang.md, You can hide this warning by running the `hideOfficialWarningUntilChanged` task
WARNING: (c) 2020 Microsoft Corporation. These mappings are provided "as-is" and you bear the risk of using them. You may copy and use the mappings for development purposes, but you may not redistribute the mappings complete and unmodified. Microsoft makes no warranties, express or implied, with respect to the mappings provided here. Use and modification of this document or the source code (in any form) of Minecraft: Java Edition is governed by the Minecraft End User License Agreement available at https://account.mojang.com/documents/minecraft_eula.
[16:57:04] [main/INFO]: Writing debug log file accesstransform.log
[16:57:04] [main/INFO]: Access Transformer processor running version 8.0.7+8.0.7+master.43473d43
[16:57:04] [main/INFO]: Command line arguments [--inJar, /home/unilock/projects/test/build/fg_cache/net/minecraftforge/forge/1.16.5-36.2.35/forge-1.16.5-36.2.35-injected.jar, --outJar, /home/unilock/projects/test/build/fg_cache/net/minecraftforge/forge/1.16.5-36.2.35_mapped_official_1.16.5/forge-1.16.5-36.2.35_mapped_official_1.16.5.jar, --logFile, accesstransform.log, --atFile, /home/unilock/projects/test/src/main/resources/META-INF/accesstransformer.cfg, --atFile, /home/unilock/projects/test/build/_atJar_5/parent_at.cfg]
[16:57:04] [main/INFO]: Reading from /home/unilock/projects/test/build/fg_cache/net/minecraftforge/forge/1.16.5-36.2.35/forge-1.16.5-36.2.35-injected.jar
[16:57:04] [main/INFO]: Writing to /home/unilock/projects/test/build/fg_cache/net/minecraftforge/forge/1.16.5-36.2.35_mapped_official_1.16.5/forge-1.16.5-36.2.35_mapped_official_1.16.5.jar
[16:57:04] [main/INFO]: Transformer file /home/unilock/projects/test/src/main/resources/META-INF/accesstransformer.cfg
[16:57:04] [main/INFO]: Transformer file /home/unilock/projects/test/build/_atJar_5/parent_at.cfg
[16:57:04] [main/WARN]: Found existing output jar /home/unilock/projects/test/build/fg_cache/net/minecraftforge/forge/1.16.5-36.2.35_mapped_official_1.16.5/forge-1.16.5-36.2.35_mapped_official_1.16.5.jar, overwriting
[16:57:08] [main/INFO]: JAR transformation complete /home/unilock/projects/test/build/fg_cache/net/minecraftforge/forge/1.16.5-36.2.35_mapped_official_1.16.5/forge-1.16.5-36.2.35_mapped_official_1.16.5.jar
Creating SRG -> MCP TSRG
> Task :compileJava FAILED
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/ModernForwarding.java:7: error: package net.minecraft.network does not exist
import net.minecraft.network.PacketBuffer;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/ModernForwarding.java:8: error: package net.minecraft.network.login.client does not exist
import net.minecraft.network.login.client.CCustomPayloadLoginPacket;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/ModernForwarding.java:30: error: cannot find symbol
public GameProfile handleForwardingPacket(CCustomPayloadLoginPacket packet) {
^
symbol: class CCustomPayloadLoginPacket
location: class org.adde0109.ambassador.forge.ModernForwarding
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/ModernForwarding.java:46: error: cannot find symbol
public boolean validate(PacketBuffer buffer) {
^
symbol: class PacketBuffer
location: class org.adde0109.ambassador.forge.ModernForwarding
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/ModernForwarding.java:71: error: cannot find symbol
public PropertyMap readProperties(PacketBuffer buf) {
^
symbol: class PacketBuffer
location: class org.adde0109.ambassador.forge.ModernForwarding
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/HandshakeDataTransmitter.java:6: error: package net.minecraft.network does not exist
import net.minecraft.network.PacketBuffer;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/HandshakeDataTransmitter.java:7: error: package net.minecraft.util does not exist
import net.minecraft.util.ResourceLocation;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/HandshakeDataTransmitter.java:8: error: package net.minecraftforge.fml.config does not exist
import net.minecraftforge.fml.config.ConfigTracker;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/HandshakeDataTransmitter.java:9: error: package net.minecraftforge.fml.network does not exist
import net.minecraftforge.fml.network.FMLHandshakeMessages;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/HandshakeDataTransmitter.java:10: error: package net.minecraftforge.registries does not exist
import net.minecraftforge.registries.RegistryManager;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/HandshakeDataTransmitter.java:86: error: cannot find symbol
private static void writePacket(PacketBuffer byteBuf,int packetID, Consumer<PacketBuffer> consumer) {
^
symbol: class PacketBuffer
location: class org.adde0109.ambassador.forge.HandshakeDataTransmitter
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/HandshakeDataTransmitter.java:86: error: cannot find symbol
private static void writePacket(PacketBuffer byteBuf,int packetID, Consumer<PacketBuffer> consumer) {
^
symbol: class PacketBuffer
location: class org.adde0109.ambassador.forge.HandshakeDataTransmitter
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/HandshakeDataTransmitter.java:98: error: package FMLHandshakeMessages does not exist
private static void encode(FMLHandshakeMessages.S2CRegistry config, PacketBuffer buffer) {
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/HandshakeDataTransmitter.java:98: error: cannot find symbol
private static void encode(FMLHandshakeMessages.S2CRegistry config, PacketBuffer buffer) {
^
symbol: class PacketBuffer
location: class org.adde0109.ambassador.forge.HandshakeDataTransmitter
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/HandshakeDataTransmitter.java:105: error: package FMLHandshakeMessages does not exist
private static void encode(FMLHandshakeMessages.S2CConfigData config, PacketBuffer buffer) {
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/HandshakeDataTransmitter.java:105: error: cannot find symbol
private static void encode(FMLHandshakeMessages.S2CConfigData config, PacketBuffer buffer) {
^
symbol: class PacketBuffer
location: class org.adde0109.ambassador.forge.HandshakeDataTransmitter
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:5: error: package net.minecraft.network does not exist
import net.minecraft.network.NetworkManager;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:6: error: package net.minecraft.network does not exist
import net.minecraft.network.PacketBuffer;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:7: error: package net.minecraft.network.login does not exist
import net.minecraft.network.login.ServerLoginNetHandler;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:8: error: package net.minecraft.network.login.client does not exist
import net.minecraft.network.login.client.CCustomPayloadLoginPacket;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:9: error: package net.minecraft.util does not exist
import net.minecraft.util.ResourceLocation;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:10: error: package net.minecraft.util.text does not exist
import net.minecraft.util.text.ITextComponent;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:11: error: package net.minecraft.util.text does not exist
import net.minecraft.util.text.StringTextComponent;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:12: error: package net.minecraftforge.fml.network does not exist
import net.minecraftforge.fml.network.NetworkDirection;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:28: error: cannot find symbol
private NetworkManager connection;
^
symbol: class NetworkManager
location: class org.adde0109.ambassador.forge.mixin.login.ModernForwardingMixin
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:34: error: cannot find symbol
private void disconnect(ITextComponent p_194026_1_) {}
^
symbol: class ITextComponent
location: class org.adde0109.ambassador.forge.mixin.login.ModernForwardingMixin
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:37: error: package ServerLoginNetHandler does not exist
private ServerLoginNetHandler.State state;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:39: error: cannot find symbol
private static final ResourceLocation VELOCITY_RESOURCE = new ResourceLocation("velocity:player_info");
^
symbol: class ResourceLocation
location: class org.adde0109.ambassador.forge.mixin.login.ModernForwardingMixin
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:51: error: cannot find symbol
private void onHandleCustomQueryPacket(CCustomPayloadLoginPacket p_209526_1_, CallbackInfo ci) {
^
symbol: class CCustomPayloadLoginPacket
location: class org.adde0109.ambassador.forge.mixin.login.ModernForwardingMixin
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/command/CommandTreeSerializationMixin.java:7: error: package net.minecraft.command.arguments does not exist
import net.minecraft.command.arguments.ArgumentTypes;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/command/CommandTreeSerializationMixin.java:8: error: package net.minecraft.network does not exist
import net.minecraft.network.PacketBuffer;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/command/CommandTreeSerializationMixin.java:9: error: package net.minecraft.network.play.server does not exist
import net.minecraft.network.play.server.SCommandListPacket;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/command/CommandTreeSerializationMixin.java:10: error: package net.minecraft.util does not exist
import net.minecraft.util.ResourceLocation;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/command/CommandTreeSerializationMixin.java:19: error: cannot find symbol
private static final ResourceLocation MOD_ARGUMENT_INDICATOR = new ResourceLocation("crossstitch:mod_argument");
^
symbol: class ResourceLocation
location: class org.adde0109.ambassador.forge.mixin.command.CommandTreeSerializationMixin
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/command/CommandTreeSerializationMixin.java:72: error: cannot find symbol
private static void writeNode$wrapInVelocityModArgument(PacketBuffer packetByteBuf, ArgumentType<?> type) {
^
symbol: class PacketBuffer
location: class org.adde0109.ambassador.forge.mixin.command.CommandTreeSerializationMixin
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/command/CommandTreeSerializationMixin.java:88: error: cannot find symbol
private static void serializeWrappedArgumentType(PacketBuffer packetByteBuf, ArgumentType argumentType, ArgumentTypes.Entry entry) {
^
symbol: class PacketBuffer
location: class org.adde0109.ambassador.forge.mixin.command.CommandTreeSerializationMixin
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/command/CommandTreeSerializationMixin.java:88: error: package ArgumentTypes does not exist
private static void serializeWrappedArgumentType(PacketBuffer packetByteBuf, ArgumentType argumentType, ArgumentTypes.Entry entry) {
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/status/DisableStatusResponseCache.java:4: error: package net.minecraft.network does not exist
import net.minecraft.network.ServerStatusResponse;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/status/DisableStatusResponseCache.java:5: error: package net.minecraft.network.status.server does not exist
import net.minecraft.network.status.server.SServerInfoPacket;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/status/DisableStatusResponseCache.java:19: error: cannot find symbol
private ServerStatusResponse status;
^
symbol: class ServerStatusResponse
location: class org.adde0109.ambassador.forge.mixin.status.DisableStatusResponseCache
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/status/StatusResponseSerializationMixin.java:4: error: package net.minecraft.network does not exist
import net.minecraft.network.ServerStatusResponse;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/handshake/DisableFMLMarkerCheckMixin.java:3: error: package net.minecraft.network.handshake.client does not exist
import net.minecraft.network.handshake.client.CHandshakePacket;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/handshake/DisableFMLMarkerCheckMixin.java:4: error: package net.minecraftforge.fml.network does not exist
import net.minecraftforge.fml.network.FMLNetworkConstants;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/Ambassador.java:4: error: package net.minecraftforge.common does not exist
import net.minecraftforge.common.ForgeConfigSpec;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/Ambassador.java:5: error: package net.minecraftforge.common does not exist
import net.minecraftforge.common.MinecraftForge;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/Ambassador.java:6: error: package net.minecraftforge.fml does not exist
import net.minecraftforge.fml.ModLoadingContext;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/Ambassador.java:7: error: package net.minecraftforge.fml.common does not exist
import net.minecraftforge.fml.common.Mod;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/Ambassador.java:8: error: package net.minecraftforge.fml.config does not exist
import net.minecraftforge.fml.config.ModConfig;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/Ambassador.java:9: error: package net.minecraftforge.fml.event.server does not exist
import net.minecraftforge.fml.event.server.FMLServerAboutToStartEvent;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/Ambassador.java:14: error: cannot find symbol
@Mod("ambassador")
^
symbol: class Mod
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/Ambassador.java:33: error: cannot find symbol
public void serverAbutToStart(FMLServerAboutToStartEvent event) {
^
symbol: class FMLServerAboutToStartEvent
location: class org.adde0109.ambassador.forge.Ambassador
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/Ambassador.java:41: error: cannot find symbol
static final ForgeConfigSpec configSpec;
^
symbol: class ForgeConfigSpec
location: class org.adde0109.ambassador.forge.Ambassador
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/Ambassador.java:49: error: package ForgeConfigSpec does not exist
public final ForgeConfigSpec.ConfigValue<? extends String> forwardingSecret;
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/Ambassador.java:51: error: package ForgeConfigSpec does not exist
Config(ForgeConfigSpec.Builder builder)
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:23: error: cannot find symbol
@Mixin(ServerLoginNetHandler.class)
^
symbol: class ServerLoginNetHandler
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/command/CommandTreeSerializationMixin.java:17: error: cannot find symbol
@Mixin(SCommandListPacket.class)
^
symbol: class SCommandListPacket
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/status/DisableStatusResponseCache.java:14: error: cannot find symbol
@Mixin(SServerInfoPacket.class)
^
symbol: class SServerInfoPacket
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/status/StatusResponseSerializationMixin.java:14: error: package ServerStatusResponse does not exist
@Mixin(ServerStatusResponse.Serializer.class)
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/handshake/DisableFMLMarkerCheckMixin.java:10: error: cannot find symbol
@Mixin(value = CHandshakePacket.class, priority = 1200)
^
symbol: class CHandshakePacket
Note: SpongePowered MIXIN Annotation Processor Version=0.8.4 (MixinGradle Version=0.7.32)
Note: ObfuscationServiceMCP supports type: "notch"
Note: ObfuscationServiceFG3 supports type: "searge"
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:23: warning: Error processing public targets: java.lang.ClassCastException: java.lang.String cannot be cast to javax.lang.model.type.TypeMirror
@Mixin(ServerLoginNetHandler.class)
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:23: error: Mixin has no targets
@Mixin(ServerLoginNetHandler.class)
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/command/CommandTreeSerializationMixin.java:17: warning: Error processing public targets: java.lang.ClassCastException: java.lang.String cannot be cast to javax.lang.model.type.TypeMirror
@Mixin(SCommandListPacket.class)
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/command/CommandTreeSerializationMixin.java:17: error: Mixin has no targets
@Mixin(SCommandListPacket.class)
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/status/DisableStatusResponseCache.java:14: warning: Error processing public targets: java.lang.ClassCastException: java.lang.String cannot be cast to javax.lang.model.type.TypeMirror
@Mixin(SServerInfoPacket.class)
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/status/DisableStatusResponseCache.java:14: error: Mixin has no targets
@Mixin(SServerInfoPacket.class)
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/status/StatusResponseSerializationMixin.java:14: warning: Error processing public targets: java.lang.ClassCastException: java.lang.String cannot be cast to javax.lang.model.type.TypeMirror
@Mixin(ServerStatusResponse.Serializer.class)
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/status/StatusResponseSerializationMixin.java:14: error: Mixin has no targets
@Mixin(ServerStatusResponse.Serializer.class)
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/handshake/DisableFMLMarkerCheckMixin.java:10: warning: Error processing public targets: java.lang.ClassCastException: java.lang.String cannot be cast to javax.lang.model.type.TypeMirror
@Mixin(value = CHandshakePacket.class, priority = 1200)
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/handshake/DisableFMLMarkerCheckMixin.java:10: error: Mixin has no targets
@Mixin(value = CHandshakePacket.class, priority = 1200)
^
Note: Writing refmap to /home/unilock/projects/test/build/tmp/compileJava/compileJava-refmap.json
Note: Writing refmap to /home/unilock/projects/test/build/tmp/compileJava/compileJava-refmap.json
Note: Writing searge composite mappings to /home/unilock/projects/test/build/tmp/compileJava/compileJava-mappings.tsrg
Note: Writing refmap to /home/unilock/projects/test/build/tmp/compileJava/compileJava-refmap.json
Note: Writing refmap to /home/unilock/projects/test/build/tmp/compileJava/compileJava-refmap.json
Note: Writing searge composite mappings to /home/unilock/projects/test/build/tmp/compileJava/compileJava-mappings.tsrg
64 errors
5 warnings
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.5/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 37s
5 actionable tasks: 5 executed
Hi, I'm not sure if it's a Bug but when I try to join a Forge server I get disconnected and when I leave the Forge server to a Vanilla one too
All players on my forge server have IP 192.168.2.1.
IPs are accurate on all other servers such as hub, so my velocity ip forwarding is setup correctly.
Running Ambassador 1.3.1 from discord.
Hi, I'm having issues connecting to my magma(1.18.2-40.2.0) server running ATM7 to the sky. I get the message "unexpected customer data from client" when connecting to the server over velocity.
velocity messages when connection:
[22:02:44 ERROR]: [connected player] AlienFromDia (/<my ip>:29508): disconnected while connecting to modded: multiplayer.disconnect.unexpected_query_response
message in magma:
[22:02:44] [User Authenticator #1/INFO] [minecraft/ServerLoginPacketListenerImpl]: UUID of player AlienFromDia is 40b7dc92-3562-4ffd-9848-86d5327f4b08 [22:02:44] [Netty Server IO #2/ERROR] [ne.mi.ne.si.IndexedMessageCodec/SIMPLENET]: Received empty payload on channel fml:handshake
[22:02:44] [Netty Server IO #2/ERROR] [ne.mi.ne.si.IndexedMessageCodec/SIMPLENET]: Received empty payload on channel fml:handshake
[22:02:44] [Netty Server IO #2/INFO] [minecraft/ServerLoginPacketListenerImpl]: Disconnecting com.mojang.authlib.GameProfile@3c8a1ee9[id=40b7dc92-3562-4ffd-9848-86d5327f4b08,name=AlienFromDia,properties={textures=[com.mojang.authlib.properties.Property@241a06b1]},legacy=false] (/<my ip>:55811): Unexpected custom data from client
[22:02:44] [Server thread/INFO] [minecraft/ServerLoginPacketListenerImpl]: com.mojang.authlib.GameProfile@3c8a1ee9[id=40b7dc92-3562-4ffd-9848-86d5327f4b08,name=AlienFromDia,properties={textures=[com.mojang.authlib.properties.Property@241a06b1]},legacy=false] (/<my ip>:55811) lost connection: Unexpected
I have version 1.18.2-0.2.1 of ambassador forge
and version 1.1.6-alpha
if this is an issue whit magma then I will take it whit them, if its an issue whit velocity then I will l ask them. thanks for the help I can get
Software:arclight(not using built in bugeecord due to i need it to use modern to fix some issues,But this now happens when a player connects.)
ERROR:
[17:46:25 WARN]: Exception verifying forwarded player info
java.lang.Exception: Player-data could not be validated!
at org.adde0109.pcf.ModernForwarding.handleForwardingPacket(ModernForwarding.java:42) ~[proxy-compatible-forge-1.19.2-1.1.3%20(2).jar%23340!/:1.19.2-1.1.3]
at net.minecraft.server.network.ServerLoginPacketListenerImpl.handler$zjp000$onHandleCustomQueryPacket(ServerLoginNetHandlerMixin.java:1561) [server-1.19.2-20220805.130853-srg.jar%23377!/:?]
at net.minecraft.server.network.ServerLoginPacketListenerImpl.m_7223_(ServerLoginNetHandlerMixin.java) [server-1.19.2-20220805.130853-srg.jar%23377!/:?]
at net.minecraft.network.protocol.login.ServerboundCustomQueryPacket.m_5797_(ServerboundCustomQueryPacket.java:39) [server-1.19.2-20220805.130853-srg.jar%23377!/:?]
at net.minecraft.network.protocol.login.ServerboundCustomQueryPacket.m_5797_(ServerboundCustomQueryPacket.java:7) [server-1.19.2-20220805.130853-srg.jar%23377!/:?]
at net.minecraft.network.Connection.m_129517_(ConnectionMixin.java:163) [server-1.19.2-20220805.130853-srg.jar%23377!/:?]
at net.minecraft.network.Connection.channelRead0(ConnectionMixin.java:148) [server-1.19.2-20220805.130853-srg.jar%23377!/:?]
at net.minecraft.network.Connection.channelRead0(ConnectionMixin.java:48) [server-1.19.2-20220805.130853-srg.jar%23377!/:?]
at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:99) [netty-transport-4.1.77.Final.jar%23117!/:4.1.77.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.77.Final.jar%23117!/:4.1.77.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.77.Final.jar%23117!/:4.1.77.Final]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-transport-4.1.77.Final.jar%23117!/:4.1.77.Final]
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:327) [netty-codec-4.1.77.Final.jar%23113!/:4.1.77.Final]
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:299) [netty-codec-4.1.77.Final.jar%23113!/:4.1.77.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.77.Final.jar%23117!/:4.1.77.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.77.Final.jar%23117!/:4.1.77.Final]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-transport-4.1.77.Final.jar%23117!/:4.1.77.Final]
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:327) [netty-codec-4.1.77.Final.jar%23113!/:4.1.77.Final]
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:299) [netty-codec-4.1.77.Final.jar%23113!/:4.1.77.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.77.Final.jar%23117!/:4.1.77.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.77.Final.jar%23117!/:4.1.77.Final]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-transport-4.1.77.Final.jar%23117!/:4.1.77.Final]
at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286) [netty-handler-4.1.77.Final.jar%23115!/:4.1.77.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.77.Final.jar%23117!/:4.1.77.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.77.Final.jar%23117!/:4.1.77.Final]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-transport-4.1.77.Final.jar%23117!/:4.1.77.Final]
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) [netty-transport-4.1.77.Final.jar%23117!/:4.1.77.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.77.Final.jar%23117!/:4.1.77.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.77.Final.jar%23117!/:4.1.77.Final]
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) [netty-transport-4.1.77.Final.jar%23117!/:4.1.77.Final]
at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:800) [netty-transport-classes-epoll-4.1.77.Final.jar%23118!/:4.1.77.Final]
at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:487) [netty-transport-classes-epoll-4.1.77.Final.jar%23118!/:4.1.77.Final]
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:385) [netty-transport-classes-epoll-4.1.77.Final.jar%23118!/:4.1.77.Final]
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:995) [netty-common-4.1.77.Final.jar%23114!/:4.1.77.Final]
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [netty-common-4.1.77.Final.jar%23114!/:4.1.77.Final]
at java.lang.Thread.run(Thread.java:833) [?:?]
[17:46:26 INFO]: /192.168.50.1:52652 lost connection: Direct connections to this server are not permitted!
1.19.2 Forge cannot be used
As mentioned here: #12 (comment)
When attempting to log in, I'm forcibly disconnected, and the following error is printed to the Velocity logs:
[17:46:22 INFO]: [connected player] PLAYER_NAME (/192.168.0.1:54918) has connected
[17:46:23 INFO]: [server connection] PLAYER_NAME -> unipack has connected
[17:46:59 INFO]: PLAYER_NAME joined the network
[17:47:00 ERROR]: [server connection] PLAYER_NAME -> unipack: exception encountered in com.velocitypowered.proxy.connection.backend.BackendPlaySessionHandler@598ce0e4
io.netty.handler.codec.CorruptedFrameException: Error decoding class com.velocitypowered.proxy.protocol.packet.AvailableCommands Direction CLIENTBOUND Protocol 1.18.2 State PLAY ID 12
at com.velocitypowered.proxy.protocol.netty.MinecraftDecoder.handleDecodeFailure(MinecraftDecoder.java:131) ~[velocity-3.2.0-SNAPSHOT-230.jar:3.2.0-SNAPSHOT (git-9149ed33-b230)]
at com.velocitypowered.proxy.protocol.netty.MinecraftDecoder.tryDecode(MinecraftDecoder.java:86) ~[velocity-3.2.0-SNAPSHOT-230.jar:3.2.0-SNAPSHOT (git-9149ed33-b230)]
at com.velocitypowered.proxy.protocol.netty.MinecraftDecoder.channelRead(MinecraftDecoder.java:61) ~[velocity-3.2.0-SNAPSHOT-230.jar:3.2.0-SNAPSHOT (git-9149ed33-b230)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[velocity-3.2.0-SNAPSHOT-230.jar:3.2.0-SNAPSHOT (git-9149ed33-b230)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[velocity-3.2.0-SNAPSHOT-230.jar:3.2.0-SNAPSHOT (git-9149ed33-b230)]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[velocity-3.2.0-SNAPSHOT-230.jar:3.2.0-SNAPSHOT (git-9149ed33-b230)]
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) ~[velocity-3.2.0-SNAPSHOT-230.jar:3.2.0-SNAPSHOT (git-9149ed33-b230)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[velocity-3.2.0-SNAPSHOT-230.jar:3.2.0-SNAPSHOT (git-9149ed33-b230)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[velocity-3.2.0-SNAPSHOT-230.jar:3.2.0-SNAPSHOT (git-9149ed33-b230)]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[velocity-3.2.0-SNAPSHOT-230.jar:3.2.0-SNAPSHOT (git-9149ed33-b230)]
at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286) ~[velocity-3.2.0-SNAPSHOT-230.jar:3.2.0-SNAPSHOT (git-9149ed33-b230)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) ~[velocity-3.2.0-SNAPSHOT-230.jar:3.2.0-SNAPSHOT (git-9149ed33-b230)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[velocity-3.2.0-SNAPSHOT-230.jar:3.2.0-SNAPSHOT (git-9149ed33-b230)]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[velocity-3.2.0-SNAPSHOT-230.jar:3.2.0-SNAPSHOT (git-9149ed33-b230)]
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) ~[velocity-3.2.0-SNAPSHOT-230.jar:3.2.0-SNAPSHOT (git-9149ed33-b230)]
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318) ~[velocity-3.2.0-SNAPSHOT-230.jar:3.2.0-SNAPSHOT (git-9149ed33-b230)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[velocity-3.2.0-SNAPSHOT-230.jar:3.2.0-SNAPSHOT (git-9149ed33-b230)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[velocity-3.2.0-SNAPSHOT-230.jar:3.2.0-SNAPSHOT (git-9149ed33-b230)]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[velocity-3.2.0-SNAPSHOT-230.jar:3.2.0-SNAPSHOT (git-9149ed33-b230)]
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) ~[velocity-3.2.0-SNAPSHOT-230.jar:3.2.0-SNAPSHOT (git-9149ed33-b230)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) ~[velocity-3.2.0-SNAPSHOT-230.jar:3.2.0-SNAPSHOT (git-9149ed33-b230)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[velocity-3.2.0-SNAPSHOT-230.jar:3.2.0-SNAPSHOT (git-9149ed33-b230)]
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) ~[velocity-3.2.0-SNAPSHOT-230.jar:3.2.0-SNAPSHOT (git-9149ed33-b230)]
at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:800) ~[velocity-3.2.0-SNAPSHOT-230.jar:3.2.0-SNAPSHOT (git-9149ed33-b230)]
at io.netty.channel.epoll.AbstractEpollChannel$AbstractEpollUnsafe$1.run(AbstractEpollChannel.java:425) ~[velocity-3.2.0-SNAPSHOT-230.jar:3.2.0-SNAPSHOT (git-9149ed33-b230)]
at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[velocity-3.2.0-SNAPSHOT-230.jar:3.2.0-SNAPSHOT (git-9149ed33-b230)]
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[velocity-3.2.0-SNAPSHOT-230.jar:3.2.0-SNAPSHOT (git-9149ed33-b230)]
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[velocity-3.2.0-SNAPSHOT-230.jar:3.2.0-SNAPSHOT (git-9149ed33-b230)]
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:403) ~[velocity-3.2.0-SNAPSHOT-230.jar:3.2.0-SNAPSHOT (git-9149ed33-b230)]
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[velocity-3.2.0-SNAPSHOT-230.jar:3.2.0-SNAPSHOT (git-9149ed33-b230)]
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[velocity-3.2.0-SNAPSHOT-230.jar:3.2.0-SNAPSHOT (git-9149ed33-b230)]
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[velocity-3.2.0-SNAPSHOT-230.jar:3.2.0-SNAPSHOT (git-9149ed33-b230)]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: java.lang.IllegalArgumentException: Argument type identifier null unknown.
at com.velocitypowered.proxy.protocol.packet.brigadier.ArgumentPropertyRegistry.deserialize(ArgumentPropertyRegistry.java:86) ~[velocity-3.2.0-SNAPSHOT-230.jar:3.2.0-SNAPSHOT (git-9149ed33-b230)]
at com.velocitypowered.proxy.protocol.packet.AvailableCommands.deserializeNode(AvailableCommands.java:210) ~[velocity-3.2.0-SNAPSHOT-230.jar:3.2.0-SNAPSHOT (git-9149ed33-b230)]
at com.velocitypowered.proxy.protocol.packet.AvailableCommands.decode(AvailableCommands.java:88) ~[velocity-3.2.0-SNAPSHOT-230.jar:3.2.0-SNAPSHOT (git-9149ed33-b230)]
at com.velocitypowered.proxy.protocol.netty.MinecraftDecoder.tryDecode(MinecraftDecoder.java:84) ~[velocity-3.2.0-SNAPSHOT-230.jar:3.2.0-SNAPSHOT (git-9149ed33-b230)]
... 31 more
[17:47:00 INFO]: [connected player] PLAYER_NAME (/192.168.0.1:54918) has disconnected: Your connection to unipack encountered a problem.
[17:47:00 INFO]: [server connection] PLAYER_NAME -> unipack has disconnected
I assume this is because the "command argument wrapper" was removed in PCF v1.0.0, which is typically required with modded Fabric backends in the form of CrossStitch. (specifically in CommandTreeSerializationMixin.java)
Obviously this was fixed with 10fcddd, but I figured I'd open an issue anyway to at least document the error before a new version of PCF with the fix is released.
Minecraft: 1.18.2, mod list
Velocity: velocity-3.2.0-SNAPSHOT-230.jar
(modern forwarding mode)
Ambassador: v1.2.0-beta
Proxy Compatible Forge: 1.18.2-v1.0.0
(edit: i'm really good at misspelling titles)
Velocity version : 3.2.0
mod version : 1.18.2 - v1.4.4
I followed the instructions in README to configure config, set the velocity secret in the subserver,but when I try to connect the subserver,It still return this:
Disconnecting VANILLA connection attempt: This server has mods that require Forge to be installed on the client. Contact yo
ur server admin for more details.
and the console logged a error :
Channels [upgradednetherite_items:main,utilitix:netchannel,yes_steve_model:network,inventorysorter:net,mantle:network,bong
o:netchannel,jea:netchannel,upgradednetherite:main,libx:netchannel,curios:main,tconstruct:network,botania:main,bloodmagic:main,quark:main,bi
ngolobby:netchannel,immersiveengineering:main,minemention:netchannel,mekanism:mekanism,patchouli:main,lootr:main_network_channel,create:main
] rejected vanilla connections
This situation has no different from when I didn't install the mod, and I'm sorry I can't provide any information related to bugs of the mod
Hello people,
I might have done something wrong, but I believe this is not working with 1.20.2 right now. Forge was updated about 13 days ago, so maybe its not up to date. I tried changing the dependency but wasn't able to built it, haven't worked with java in forever...
Thanks!!
Hello,
Is there any chance we can get this updated to latest Forge 1.20.1 please?
Let me know if you need help testing and I can do that.
Hi,
any chance legacy player forwarding could be supported too?
I'm trying to use Ambassador + Proxy Compatible Forge with a modded Minecraft 1.18.2 server of mine running behind Velocity.
Minecraft: 1.18.2, mod list (warning: it's 492 mods; don't judge me)
Velocity: velocity-3.2.0-SNAPSHOT-230.jar
(modern forwarding mode)
Ambassador: v1.2.0-beta
Proxy Compatible Forge: 1.18.2-v1.0.0
When I attempt to connect to the Forge server through Velocity, I receive one of several different error messages in the Forge server's log:
[Server thread/INFO] [minecraft/ServerLoginPacketListenerImpl]: com.mojang.authlib.GameProfile@69dfc448[id=<null>,name=PLAYER_NAME,properties={},legacy=false] (/127.0.0.1:53876) lost connection: Internal Exception: net.minecraft.ResourceLocationException: Non [a-z0-9_.-] character in namespace of location: B��������I��1�0�~U�:^v0:0:0:0:0:0:
(with everying after location:
being mostly random gibberish)
or
[Server thread/INFO] [minecraft/ServerLoginPacketListenerImpl]: com.mojang.authlib.GameProfile@5dae59ec[id=<null>,name=PLAYER_NAME,properties={},legacy=false] (/127.0.0.1:53871) lost connection: Internal Exception: java.lang.IndexOutOfBoundsException: index: 2, length: 3468 (expected: range(0, 1257))
(with the length:
value being a seemingly random number)
or
[Server thread/INFO] [minecraft/ServerLoginPacketListenerImpl]: com.mojang.authlib.GameProfile@538bf488[id=<null>,name=PLAYER_NAME,properties={},legacy=false] (/127.0.0.1:53960) lost connection: Internal Exception: io.netty.handler.codec.DecoderException: The received encoded string buffer length is longer than maximum allowed (741548 > 131068)
(i only saw this error once)
More errors would likely pop up if I keep trying to log in, but I think you get the idea.
There doesn't appear to be any particular reason why one error message is shown as opposed to any other.
In the Velocity log, I only ever get the following:
[12:22:32 ERROR]: [connected player] PLAYER_NAME (/[0:0:0:0:0:0:0:1]:53985): disconnected while connecting to default: disconnect.genericReason
(default
being the name of the server in velocity.toml
)
I would do a binary search through the mods on the backend, but, y'know... 492 mods...
It's also worth noting that Ambassador v1.1.7-alpha + Proxy Compatible Forge 1.18.2-v0.2.1 worked fine (and still do!).
java.lang.IllegalArgumentException: Argument type identifier null unknown. at com.velocitypowered.proxy.protocol.packet.brigadier.ArgumentPropertyRegistry.deserialize(ArgumentPropertyRegistry.java:87) ~[velocity.jar:3.2.0-SNAPSHOT (git-6a125bd0-b247)] at com.velocitypowered.proxy.protocol.packet.AvailableCommands.deserializeNode(AvailableCommands.java:210) ~[velocity.jar:3.2.0-SNAPSHOT (git-6a125bd0-b247)] at com.velocitypowered.proxy.protocol.packet.AvailableCommands.decode(AvailableCommands.java:88) ~[velocity.jar:3.2.0-SNAPSHOT (git-6a125bd0-b247)] at org.adde0109.ambassador.forge.VelocityForgeBackendConnectionPhase.handle(VelocityForgeBackendConnectionPhase.java:93) ~[?:?] at com.velocitypowered.proxy.connection.backend.BackendPlaySessionHandler.handle(BackendPlaySessionHandler.java:218) ~[velocity.jar:3.2.0-SNAPSHOT (git-6a125bd0-b247)] at com.velocitypowered.proxy.protocol.packet.PluginMessage.handle(PluginMessage.java:104) ~[velocity.jar:3.2.0-SNAPSHOT (git-6a125bd0-b247)] at com.velocitypowered.proxy.connection.MinecraftConnection.channelRead(MinecraftConnection.java:143) ~[velocity.jar:3.2.0-SNAPSHOT (git-6a125bd0-b247)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[velocity.jar:3.2.0-SNAPSHOT (git-6a125bd0-b247)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[velocity.jar:3.2.0-SNAPSHOT (git-6a125bd0-b247)]
This error should be handled and allow me connect to the server.
I tried to use Bungeeforge and it worked but i couldn't use commands properly (no preview), but ambassador told me to install Proxy-Compatible-Forge, but now with both of them installed it says "Direct connections to this server are not permitted!"
This happens in both legacy and modern mode.
This error occurs if you try to connect to the server directly bypassing the Proxy. I know that this should not be the case and the player should log in to the server through a Proxy, but this is rather a suggestion for improvement. In this case, I suggest adding a "silent" mode, as in Ambassador, so that this error does not clog the server logs.
java.lang.Exception: Got empty packet
at org.adde0109.pcf.ModernForwarding.handleForwardingPacket(ModernForwarding.java:38) ~[proxy-compatible-forge-1.19.2-1.1.4.jar%23109!/:1.19.2-1.1.4] {re:classloading,re:mixin}
at net.minecraft.server.network.ServerLoginPacketListenerImpl.handler$zbf000$onHandleCustomQueryPacket(ServerLoginPacketListenerImpl.java:1061) [server-1.19.2-20220805.130853-srg.jar%23111!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:pcf.mixins.json:login.ServerLoginPacketListenerPlaceholderMixin,pl:mixin:APP:pcf.mixins.json:login.ModernForwardingMixin,pl:mixin:A}
at net.minecraft.server.network.ServerLoginPacketListenerImpl.m_7223_(ServerLoginPacketListenerImpl.java) [server-1.19.2-20220805.130853-srg.jar%23111!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:pcf.mixins.json:login.ServerLoginPacketListenerPlaceholderMixin,pl:mixin:APP:pcf.mixins.json:login.ModernForwardingMixin,pl:mixin:A}
at net.minecraft.network.protocol.login.ServerboundCustomQueryPacket.m_5797_(ServerboundCustomQueryPacket.java:39) [server-1.19.2-20220805.130853-srg.jar%23111!/:?] {re:classloading,re:mixin}
at net.minecraft.network.protocol.login.ServerboundCustomQueryPacket.m_5797_(ServerboundCustomQueryPacket.java:7) [server-1.19.2-20220805.130853-srg.jar%23111!/:?] {re:classloading,re:mixin}
at net.minecraft.network.Connection.m_129517_(Connection.java:163) [server-1.19.2-20220805.130853-srg.jar%23111!/:?] {re:mixin,re:classloading,pl:mixin:APP:pcf.mixins.json:login.ConnectionMixin,pl:mixin:A}
at net.minecraft.network.Connection.channelRead0(Connection.java:148) [server-1.19.2-20220805.130853-srg.jar%23111!/:?] {re:mixin,re:classloading,pl:mixin:APP:pcf.mixins.json:login.ConnectionMixin,pl:mixin:A}
at net.minecraft.network.Connection.channelRead0(Connection.java:48) [server-1.19.2-20220805.130853-srg.jar%23111!/:?] {re:mixin,re:classloading,pl:mixin:APP:pcf.mixins.json:login.ConnectionMixin,pl:mixin:A}
at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:99) [netty-transport-4.1.77.Final.jar%2384!/:4.1.77.Final] {re:mixin,re:computing_frames}
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.77.Final.jar%2384!/:4.1.77.Final] {}
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.77.Final.jar%2384!/:4.1.77.Final] {}
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-transport-4.1.77.Final.jar%2384!/:4.1.77.Final] {}
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:327) [netty-codec-4.1.77.Final.jar%2380!/:4.1.77.Final] {}
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:299) [netty-codec-4.1.77.Final.jar%2380!/:4.1.77.Final] {}
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.77.Final.jar%2384!/:4.1.77.Final] {}
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.77.Final.jar%2384!/:4.1.77.Final] {}
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-transport-4.1.77.Final.jar%2384!/:4.1.77.Final] {}
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:327) [netty-codec-4.1.77.Final.jar%2380!/:4.1.77.Final] {}
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:299) [netty-codec-4.1.77.Final.jar%2380!/:4.1.77.Final] {}
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.77.Final.jar%2384!/:4.1.77.Final] {}
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.77.Final.jar%2384!/:4.1.77.Final] {}
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-transport-4.1.77.Final.jar%2384!/:4.1.77.Final] {}
at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286) [netty-handler-4.1.77.Final.jar%2382!/:4.1.77.Final] {}
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.77.Final.jar%2384!/:4.1.77.Final] {}
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.77.Final.jar%2384!/:4.1.77.Final] {}
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-transport-4.1.77.Final.jar%2384!/:4.1.77.Final] {}
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) [netty-transport-4.1.77.Final.jar%2384!/:4.1.77.Final] {}
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.77.Final.jar%2384!/:4.1.77.Final] {}
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.77.Final.jar%2384!/:4.1.77.Final] {}
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) [netty-transport-4.1.77.Final.jar%2384!/:4.1.77.Final] {}
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) [netty-transport-4.1.77.Final.jar%2384!/:4.1.77.Final] {}
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:722) [netty-transport-4.1.77.Final.jar%2384!/:4.1.77.Final] {}
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:658) [netty-transport-4.1.77.Final.jar%2384!/:4.1.77.Final] {}
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:584) [netty-transport-4.1.77.Final.jar%2384!/:4.1.77.Final] {}
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:496) [netty-transport-4.1.77.Final.jar%2384!/:4.1.77.Final] {}
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:995) [netty-common-4.1.77.Final.jar%2381!/:4.1.77.Final] {}
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [netty-common-4.1.77.Final.jar%2381!/:4.1.77.Final] {}
at java.lang.Thread.run(Thread.java:833) [?:?] {}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.