Class FakePlayer.FakeConnection
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.channel.SimpleChannelInboundHandler<net.minecraft.network.protocol.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
private static final class FakePlayer.FakeConnection
extends net.minecraft.network.Connection
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
io.netty.channel.ChannelHandler.Sharable
-
Field Summary
Fields inherited from class net.minecraft.network.Connection
LOCAL_WORKER_GROUP, NETWORK_EPOLL_WORKER_GROUP, NETWORK_WORKER_GROUP, PACKET_MARKER, PACKET_RECEIVED_MARKER, PACKET_SENT_MARKER, ROOT_MARKER
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setListenerForServerboundHandshake
(net.minecraft.network.PacketListener listener) Methods inherited from class net.minecraft.network.Connection
channel, channelActive, channelInactive, channelRead0, configureInMemoryPipeline, configurePacketHandler, configureSerialization, connect, connectToLocalServer, connectToServer, disconnect, disconnect, exceptionCaught, flushChannel, getAverageReceivedPackets, getAverageSentPackets, getDirection, getDisconnectionDetails, 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, tickSecond
Methods inherited from class io.netty.channel.SimpleChannelInboundHandler
acceptInboundMessage, channelRead
Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggered
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.netty.channel.ChannelHandler
handlerAdded, handlerRemoved
-
Constructor Details
-
FakeConnection
public FakeConnection()
-
-
Method Details
-
setListenerForServerboundHandshake
public void setListenerForServerboundHandshake(net.minecraft.network.PacketListener listener) - Overrides:
setListenerForServerboundHandshake
in classnet.minecraft.network.Connection
-