Package net.neoforged.neoforge.network
Class HandshakeMessages.S2CConfigData
java.lang.Object
net.neoforged.neoforge.network.HandshakeMessages.LoginIndexedMessage
net.neoforged.neoforge.network.HandshakeMessages.S2CConfigData
- All Implemented Interfaces:
IntSupplier,SimpleLoginMessage,SimpleMessage
- Enclosing class:
- HandshakeMessages
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondecode(FriendlyByteBuf buffer) voidencode(FriendlyByteBuf buffer) Encodes this message to thebuffer.byte[]getBytes()Methods inherited from class net.neoforged.neoforge.network.HandshakeMessages.LoginIndexedMessage
getLoginIndex, setLoginIndexMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.neoforged.neoforge.network.simple.SimpleLoginMessage
getAsIntMethods inherited from interface net.neoforged.neoforge.network.simple.SimpleMessage
handleMainThread, handleNetworkThread
-
Field Details
-
fileName
-
fileData
private final byte[] fileData
-
-
Constructor Details
-
S2CConfigData
-
-
Method Details
-
encode
Description copied from interface:SimpleMessageEncodes this message to thebuffer.- See Also:
-
decode
-
getFileName
-
getBytes
public byte[] getBytes()
-