Class MessageType
java.lang.Object
dev.architectury.networking.simple.MessageType
A unique type for a message in a
SimpleNetworkManager
.-
Method Details
-
getManager
Returns the network manager that manages this message type- Returns:
- the network manager that manages this message type
-
getId
public net.minecraft.resources.ResourceLocation getId()Returns the ID of this message type- Returns:
- the ID of this message type
-
getSide
Returns the network side of this message type- Returns:
- the network side of this message type
-
toString
-
equals
-
hashCode
public int hashCode()
-