ByteBuddy - defining the intercepting syntax

Caused by: java.lang.IllegalArgumentException: None of [public static void shadow.systems.interception.AlixEventInterceptor$Interceptor.intercept(java.lang.reflect.Method,java.lang.Object[],java.lang.Object) throws java.lang.Exception] allows for delegation from public void net.minecraft.server.players.PlayerList.a(net.minecraft.network.NetworkManager,net.minecraft.server.level.EntityPlayer)
Caused by: java.lang.IllegalArgumentException: None of [public static void shadow.systems.interception.AlixEventInterceptor$Interceptor.intercept(java.lang.reflect.Method,java.lang.Object[],java.lang.Object) throws java.lang.Exception] allows for delegation from public void net.minecraft.server.players.PlayerList.a(net.minecraft.network.NetworkManager,net.minecraft.server.level.EntityPlayer)
is the error I get
No description
No description
6 Replies
JavaBot
JavaBot5mo ago
This post has been reserved for your question.
Hey @ShadowOfHeaven! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
ShadowOfHeaven
ShadowOfHeaven5mo ago
so the only thing I'm asking for is how do I define the syntax for intercepting that method's invocation
JavaBot
JavaBot5mo ago
💤 Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived. If your question was not answered yet, feel free to re-open this post or create a new one. In case your post is not getting any attention, you can try to use /help ping. Warning: abusing this will result in moderative actions taken against you.
ShadowOfHeaven
ShadowOfHeaven5mo ago
Bruuuh
dan1st
dan1st5mo ago
maybe the intercept cannot be void? or the parameters should match?
JavaBot
JavaBot5mo ago
💤 Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived. If your question was not answered yet, feel free to re-open this post or create a new one. In case your post is not getting any attention, you can try to use /help ping. Warning: abusing this will result in moderative actions taken against you.
Want results from more Discord servers?
Add your server