canPlayerReceive

abstract boolean canPlayerReceive(PlayerEntity player, Identifier id)

Check if a given client declared the ability to receive a given packet IDusing the vanilla "register/unregister" protocol.

Return

True if the client side declared a given packet identifier.

Parameters

id

The packet identifier.

Sources

jvm source
Link copied to clipboard