NetworkHandler
Register a network handler.
This class must implement ClientPlayNetworking.PlayChannelHandler
or ServerPlayNetworking.PlayChannelHandler
.
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
public @interface NetworkHandler {
/**
* The message ID
*
* @return {@link TargetId }
*/
TargetId value();
}