public class NetHandlerPlayServer extends java.lang.Object implements INetHandlerPlayServer, ITickable
Modifier and Type | Field and Description |
---|---|
NetworkManager |
netManager |
EntityPlayerMP |
player |
Constructor and Description |
---|
NetHandlerPlayServer(MinecraftServer server,
NetworkManager networkManagerIn,
EntityPlayerMP playerIn) |
public final NetworkManager netManager
public EntityPlayerMP player
public NetHandlerPlayServer(MinecraftServer server, NetworkManager networkManagerIn, EntityPlayerMP playerIn)
public NetworkManager getNetworkManager()
public void disconnect(ITextComponent textComponent)
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 handleRecipeBookUpdate(CPacketRecipeInfo p_191984_1_)
handleRecipeBookUpdate
in interface INetHandlerPlayServer
public void handleSeenAdvancements(CPacketSeenAdvancements p_194027_1_)
handleSeenAdvancements
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 processTryUseItemOnBlock(CPacketPlayerTryUseItemOnBlock packetIn)
processTryUseItemOnBlock
in interface INetHandlerPlayServer
public void processTryUseItem(CPacketPlayerTryUseItem packetIn)
processTryUseItem
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 func_194308_a(CPacketPlaceRecipe p_194308_1_)
func_194308_a
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