@Deprecated public interface S2CPacketTypeCallback
Please migrate to
C2SPlayChannelEventssince this was incorrectly named.
Event for listening to packet type registration and unregistration notifications (also known as "minecraft:register" and "minecraft:unregister") sent by a server.
Registrations received will be for client -> server packets that the sending server can understand.
Modifier and Type Method Description
Collection<net.minecraft.util.Identifier> types)(Deprecated.Accept a collection of types.
acceptvoid accept(Collection<net.minecraft.util.Identifier> types)Deprecated.Accept a collection of types.
types- The provided collection of types.