Uses of Record Class
net.minecraftforge.network.ServerStatusPing.ChannelData
-
Uses of ServerStatusPing.ChannelData in net.minecraftforge.network
Modifier and TypeFieldDescriptionstatic ServerStatusPing.ChannelData
NetworkRegistry.ABSENT
Special value for clientAcceptedVersions and serverAcceptedVersions predicates indicating the other side lacks this channel.Modifier and TypeFieldDescriptionprivate final Map<ResourceLocation,
ServerStatusPing.ChannelData> ServerStatusPing.channels
The field for thechannels
record component.static final com.mojang.serialization.Codec<ServerStatusPing.ChannelData>
ServerStatusPing.ChannelData.CODEC
Modifier and TypeMethodDescription(package private) static Map<ResourceLocation,
ServerStatusPing.ChannelData> NetworkRegistry.buildChannelVersionsForListPing()
Construct the Map representation of the channel list, for the client to check against during list pingServerStatusPing.channels()
Returns the value of thechannels
record component.ServerStatusPing.getChannelsForMod
(String modId) ServerStatusPing.getNonModChannels()
ServerStatusPing.getRemoteChannels()
Modifier and TypeMethodDescriptionstatic boolean
NetworkRegistry.checkListPingCompatibilityForClient
(Map<ResourceLocation, ServerStatusPing.ChannelData> incoming) ModifierConstructorDescriptionServerStatusPing
(Map<ResourceLocation, ServerStatusPing.ChannelData> channels, Map<String, String> mods, int fmlNetworkVer, boolean truncated) Creates an instance of aServerStatusPing
record class.