Class SimpleRadioNetworking
java.lang.Object
com.codinglitch.simpleradio.core.networking.SimpleRadioNetworking
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interface -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidhandleRadioUpdate(ServerboundRadioUpdatePacket packet, net.minecraft.server.MinecraftServer server, net.minecraft.server.level.ServerPlayer player) static voidhandleRequestRouter(ServerboundRequestRouterPacket packet, net.minecraft.server.MinecraftServer server, net.minecraft.server.level.ServerPlayer player) static voidhandleUseHandheld(ServerboundUseHandheldPacket packet, net.minecraft.server.MinecraftServer server, net.minecraft.server.level.ServerPlayer player) static voidstatic voidstatic CatalystreadCatalyst(net.minecraft.network.RegistryFriendlyByteBuf buffer, net.minecraft.resources.ResourceLocation location) static net.minecraft.network.FriendlyByteBufwriteCatalyst(net.minecraft.network.FriendlyByteBuf buffer, Catalyst catalyst)
-
Constructor Details
-
SimpleRadioNetworking
public SimpleRadioNetworking()
-
-
Method Details
-
loadServerbound
-
loadClientbound
-
handleRadioUpdate
public static void handleRadioUpdate(ServerboundRadioUpdatePacket packet, net.minecraft.server.MinecraftServer server, net.minecraft.server.level.ServerPlayer player) -
handleRequestRouter
public static void handleRequestRouter(ServerboundRequestRouterPacket packet, net.minecraft.server.MinecraftServer server, net.minecraft.server.level.ServerPlayer player) -
handleUseHandheld
public static void handleUseHandheld(ServerboundUseHandheldPacket packet, net.minecraft.server.MinecraftServer server, net.minecraft.server.level.ServerPlayer player) -
readCatalyst
public static Catalyst readCatalyst(net.minecraft.network.RegistryFriendlyByteBuf buffer, net.minecraft.resources.ResourceLocation location) -
writeCatalyst
public static net.minecraft.network.FriendlyByteBuf writeCatalyst(net.minecraft.network.FriendlyByteBuf buffer, Catalyst catalyst)
-