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
ConstructorsModifierConstructorDescriptionprivateC2SModListReply(List<String> mods, Map<ResourceLocation, String> channels, Map<ResourceLocation, String> registries) -
Method Summary
Modifier and TypeMethodDescriptiondecode(FriendlyByteBuf input) voidencode(FriendlyByteBuf output) Encodes this message to thebuffer.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
-
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:SimpleMessageEncodes this message to thebuffer.- See Also:
-
getModList
-
getRegistries
-
getChannels
-