Interface ServerPlayNetworking.Context
- Enclosing class:
ServerPlayNetworking
@NonExtendable
public static interface ServerPlayNetworking.Context
-
Method Details
-
server
MinecraftServer server()- Returns:
- The MinecraftServer instance
-
player
ServerPlayerEntity player()- Returns:
- The player that received the packet
-
responseSender
PacketSender responseSender()- Returns:
- The packet sender
-