#Listening to network events from other mods?

4 messages · Page 1 of 1 (latest)

wild jolt
#

I have the Effortless Building mod installed (CurseForge: https://www.curseforge.com/minecraft/mc-mods/effortless-building | Source Code: https://bitbucket.org/Requios/effortless-building/src/master/)

I want to use the NetworkEvents.fromClient method to intercept one of it's packets before the server does anything with it. Here is the mod's PacketHandler class, where the packets/message's are being registered (https://bitbucket.org/Requios/effortless-building/src/master/src/main/java/nl/requios/effortlessbuilding/network/PacketHandler.java).

From it's list of select messages I want to listen to the BlockPlacedMessage packet.

I'm having trouble figuring out what string I need to enter into NetworkEvents.fromClient() to listen to this event, considering it's source code. Or is listening to network events from other mods even possible?

candid stoneBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

lavish bluff
#

not possible

wild jolt
#

gotcha, thanks for the prompt response