Interface PlanFabricEvents.OnClientHandshake

Enclosing class:
PlanFabricEvents
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 static interface PlanFabricEvents.OnClientHandshake
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onHandshake(net.minecraft.network.packet.c2s.handshake.HandshakeC2SPacket packet)
    Called when a player attempts to login
  • Method Details

    • onHandshake

      void onHandshake(net.minecraft.network.packet.c2s.handshake.HandshakeC2SPacket packet)
      Called when a player attempts to login
      Parameters:
      packet - Handshake packet