Class FakePlayer.FakeConnection
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.channel.SimpleChannelInboundHandler<Packet<?>>
net.minecraft.network.Connection
net.neoforged.neoforge.common.util.FakePlayer.FakeConnection
- All Implemented Interfaces:
- io.netty.channel.ChannelHandler,- io.netty.channel.ChannelInboundHandler
- Enclosing class:
- FakePlayer
- 
Nested Class SummaryNested classes/interfaces inherited from interface io.netty.channel.ChannelHandlerio.netty.channel.ChannelHandler.Sharable
- 
Field SummaryFields inherited from class net.minecraft.network.ConnectionLOCAL_WORKER_GROUP, NETWORK_EPOLL_WORKER_GROUP, NETWORK_WORKER_GROUP, PACKET_MARKER, PACKET_RECEIVED_MARKER, PACKET_SENT_MARKER, ROOT_MARKER
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidMethods inherited from class net.minecraft.network.Connectionchannel, channelActive, channelInactive, channelRead0, configureInMemoryPipeline, configurePacketHandler, configureSerialization, connect, connectToLocalServer, connectToServer, disconnect, exceptionCaught, flushChannel, getAverageReceivedPackets, getAverageSentPackets, getDirection, getDisconnectedReason, getInboundProtocol, getLoggableAddress, getPacketListener, getReceiving, getRemoteAddress, getSending, handleDisconnection, initiateServerboundPlayConnection, initiateServerboundPlayConnection, initiateServerboundStatusConnection, isConnected, isConnecting, isEncrypted, isMemoryConnection, runOnceConnected, send, send, send, setBandwidthLogger, setEncryptionKey, setReadOnly, setupCompression, setupInboundProtocol, setupOutboundProtocol, tick, tickSecondMethods inherited from class io.netty.channel.SimpleChannelInboundHandleracceptInboundMessage, channelReadMethods inherited from class io.netty.channel.ChannelInboundHandlerAdapterchannelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredMethods inherited from class io.netty.channel.ChannelHandlerAdapterensureNotSharable, handlerAdded, handlerRemoved, isSharableMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.netty.channel.ChannelHandlerhandlerAdded, handlerRemoved
- 
Constructor Details- 
FakeConnectionpublic FakeConnection()
 
- 
- 
Method Details- 
setListenerForServerboundHandshake- Overrides:
- setListenerForServerboundHandshakein class- Connection
 
 
-