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
JavaBot7mo 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
ShadowOfHeavenOP7mo ago
so the only thing I'm asking for is how do I define the syntax for intercepting that method's invocation
JavaBot
JavaBot7mo 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
ShadowOfHeavenOP7mo ago
Bruuuh
dan1st
dan1st7mo ago
maybe the intercept cannot be void? or the parameters should match?
JavaBot
JavaBot7mo 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