Package net.neoforged.neoforge.network
Class HandshakeMessages.C2SModListReply
java.lang.Object
net.neoforged.neoforge.network.HandshakeMessages.LoginIndexedMessage
net.neoforged.neoforge.network.HandshakeMessages.C2SModListReply
- All Implemented Interfaces:
IntSupplier
,SimpleLoginMessage
,SimpleMessage
- Enclosing class:
- HandshakeMessages
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Map<ResourceLocation,
String> private Map<ResourceLocation,
String> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
C2SModListReply
(List<String> mods, Map<ResourceLocation, String> channels, Map<ResourceLocation, String> registries) -
Method Summary
Modifier and TypeMethodDescriptiondecode
(FriendlyByteBuf input) void
encode
(FriendlyByteBuf output) Encodes this message to thebuffer
.Methods inherited from class net.neoforged.neoforge.network.HandshakeMessages.LoginIndexedMessage
getLoginIndex, setLoginIndex
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.neoforged.neoforge.network.simple.SimpleLoginMessage
getAsInt
Methods inherited from interface net.neoforged.neoforge.network.simple.SimpleMessage
handleMainThread, handleNetworkThread
-
Field Details
-
mods
-
channels
-
registries
-
-
Constructor Details
-
C2SModListReply
public C2SModListReply() -
C2SModListReply
private C2SModListReply(List<String> mods, Map<ResourceLocation, String> channels, Map<ResourceLocation, String> registries)
-
-
Method Details
-
decode
-
encode
Description copied from interface:SimpleMessage
Encodes this message to thebuffer
.- See Also:
-
getModList
-
getRegistries
-
getChannels
-