Class NetworkingImpl
java.lang.Object
net.fabricmc.fabric.impl.networking.NetworkingImpl
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.slf4j.Loggerstatic final Stringstatic final net.minecraft.resources.IdentifierId of packet used to register supported channels.static final net.minecraft.resources.IdentifierId of packet used to unregister supported channels. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidinit()static booleanisReservedCommonChannel(net.minecraft.resources.Identifier channelName)
-
Field Details
-
MOD_ID
- See Also:
-
LOGGER
public static final org.slf4j.Logger LOGGER -
REGISTER_CHANNEL
public static final net.minecraft.resources.Identifier REGISTER_CHANNELId of packet used to register supported channels. -
UNREGISTER_CHANNEL
public static final net.minecraft.resources.Identifier UNREGISTER_CHANNELId of packet used to unregister supported channels.
-
-
Constructor Details
-
NetworkingImpl
public NetworkingImpl()
-
-
Method Details
-
isReservedCommonChannel
public static boolean isReservedCommonChannel(net.minecraft.resources.Identifier channelName) -
init
public static void init()
-