public class NetHandlerPlayServer extends java.lang.Object implements INetHandlerPlayServer, ITickable
Modifier and Type | Field and Description |
---|---|
NetworkManager |
netManager |
EntityPlayerMP |
playerEntity |
Constructor and Description |
---|
NetHandlerPlayServer(MinecraftServer server,
NetworkManager networkManagerIn,
EntityPlayerMP playerIn) |
public final NetworkManager netManager
public EntityPlayerMP playerEntity
public NetHandlerPlayServer(MinecraftServer server, NetworkManager networkManagerIn, EntityPlayerMP playerIn)
public NetworkManager getNetworkManager()
public void kickPlayerFromServer(java.lang.String reason)
public void processInput(CPacketInput packetIn)
processInput
in interface INetHandlerPlayServer
public void processVehicleMove(CPacketVehicleMove packetIn)
processVehicleMove
in interface INetHandlerPlayServer
public void processConfirmTeleport(CPacketConfirmTeleport packetIn)
processConfirmTeleport
in interface INetHandlerPlayServer
public void processPlayer(CPacketPlayer packetIn)
processPlayer
in interface INetHandlerPlayServer
public void setPlayerLocation(double x, double y, double z, float yaw, float pitch)
public void setPlayerLocation(double x, double y, double z, float yaw, float pitch, java.util.Set<SPacketPlayerPosLook.EnumFlags> relativeSet)
public void processPlayerDigging(CPacketPlayerDigging packetIn)
processPlayerDigging
in interface INetHandlerPlayServer
public void processRightClickBlock(CPacketPlayerTryUseItemOnBlock packetIn)
processRightClickBlock
in interface INetHandlerPlayServer
public void processPlayerBlockPlacement(CPacketPlayerTryUseItem packetIn)
processPlayerBlockPlacement
in interface INetHandlerPlayServer
public void handleSpectate(CPacketSpectate packetIn)
handleSpectate
in interface INetHandlerPlayServer
public void handleResourcePackStatus(CPacketResourcePackStatus packetIn)
handleResourcePackStatus
in interface INetHandlerPlayServer
public void processSteerBoat(CPacketSteerBoat packetIn)
processSteerBoat
in interface INetHandlerPlayServer
public void onDisconnect(ITextComponent reason)
onDisconnect
in interface INetHandler
public void sendPacket(Packet<?> packetIn)
public void processHeldItemChange(CPacketHeldItemChange packetIn)
processHeldItemChange
in interface INetHandlerPlayServer
public void processChatMessage(CPacketChatMessage packetIn)
processChatMessage
in interface INetHandlerPlayServer
public void handleAnimation(CPacketAnimation packetIn)
handleAnimation
in interface INetHandlerPlayServer
public void processEntityAction(CPacketEntityAction packetIn)
processEntityAction
in interface INetHandlerPlayServer
public void processUseEntity(CPacketUseEntity packetIn)
processUseEntity
in interface INetHandlerPlayServer
public void processClientStatus(CPacketClientStatus packetIn)
processClientStatus
in interface INetHandlerPlayServer
public void processCloseWindow(CPacketCloseWindow packetIn)
processCloseWindow
in interface INetHandlerPlayServer
public void processClickWindow(CPacketClickWindow packetIn)
processClickWindow
in interface INetHandlerPlayServer
public void processEnchantItem(CPacketEnchantItem packetIn)
processEnchantItem
in interface INetHandlerPlayServer
public void processCreativeInventoryAction(CPacketCreativeInventoryAction packetIn)
processCreativeInventoryAction
in interface INetHandlerPlayServer
public void processConfirmTransaction(CPacketConfirmTransaction packetIn)
processConfirmTransaction
in interface INetHandlerPlayServer
public void processUpdateSign(CPacketUpdateSign packetIn)
processUpdateSign
in interface INetHandlerPlayServer
public void processKeepAlive(CPacketKeepAlive packetIn)
processKeepAlive
in interface INetHandlerPlayServer
public void processPlayerAbilities(CPacketPlayerAbilities packetIn)
processPlayerAbilities
in interface INetHandlerPlayServer
public void processTabComplete(CPacketTabComplete packetIn)
processTabComplete
in interface INetHandlerPlayServer
public void processClientSettings(CPacketClientSettings packetIn)
processClientSettings
in interface INetHandlerPlayServer
public void processCustomPayload(CPacketCustomPayload packetIn)
processCustomPayload
in interface INetHandlerPlayServer