public interface S2CPacketTypeCallback
Registrations received will be for client -> server packets that the sending server can understand.
Modifier and Type | Field and Description |
---|---|
static Event<S2CPacketTypeCallback> |
REGISTERED |
static Event<S2CPacketTypeCallback> |
UNREGISTERED |
Modifier and Type | Method and Description |
---|---|
void |
accept(Collection<net.minecraft.util.Identifier> types)
Accept a collection of types.
|
static final Event<S2CPacketTypeCallback> REGISTERED
static final Event<S2CPacketTypeCallback> UNREGISTERED
void accept(Collection<net.minecraft.util.Identifier> types)
types
- The provided collection of types.