Uses of Record Class
net.neoforged.neoforge.network.registration.NetworkChannel
Packages that use NetworkChannel
-
Uses of NetworkChannel in net.neoforged.neoforge.network.registration
Fields in net.neoforged.neoforge.network.registration with type parameters of type NetworkChannelModifier and TypeFieldDescriptionprivate final Map
<ConnectionProtocol, Map<ResourceLocation, NetworkChannel>> NetworkPayloadSetup.channels
The field for thechannels
record component.static final StreamCodec
<FriendlyByteBuf, NetworkChannel> NetworkChannel.STREAM_CODEC
Methods in net.neoforged.neoforge.network.registration that return NetworkChannelModifier and TypeMethodDescription@Nullable NetworkChannel
NetworkPayloadSetup.getChannel
(ConnectionProtocol protocol, ResourceLocation id) Methods in net.neoforged.neoforge.network.registration that return types with arguments of type NetworkChannelModifier and TypeMethodDescriptionNetworkPayloadSetup.channels()
Returns the value of thechannels
record component.NetworkPayloadSetup.getChannels
(ConnectionProtocol protocol) Constructor parameters in net.neoforged.neoforge.network.registration with type arguments of type NetworkChannelModifierConstructorDescriptionCreates an instance of aNetworkPayloadSetup
record class.