Interface PacketContextProvider

All Known Implementing Classes:
FakePlayer, net.minecraft.server.level.ServerPlayer

@NonExtendable public interface PacketContextProvider
This interface is used as a way to retrieve PacketContext from Connection and PacketListeners.

Note: This interface is automatically implemented on Connection and vanilla PacketListeners via Mixin and interface injection.

  • Method Details