Interface PacketChannelCallback<L extends net.minecraft.network.listener.PacketListener>
- Type Parameters:
L
- the network handler
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface PacketChannelCallback<L extends net.minecraft.network.listener.PacketListener>
A callback that involves a network handler and a list of channels.
-
Method Details
-
handle
Receive the network handler and the channels.- Parameters:
handler
- the network handlerchannels
- the channels
-