Class S2CConfigSyncPacket

java.lang.Object
name.dashkal.minecraft.hexresearch.fabric.network.S2CConfigSyncPacket

public class S2CConfigSyncPacket extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final net.minecraft.resources.ResourceLocation
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    S2CConfigSyncPacket(name.dashkal.minecraft.hexresearch.config.ServerConfig serverConfig)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    name.dashkal.minecraft.hexresearch.config.ServerConfig
     
    static void
    s2cHandler(net.minecraft.network.FriendlyByteBuf buf, dev.architectury.networking.NetworkManager.PacketContext context)
     
    void
    sendToPlayer(net.minecraft.server.level.ServerPlayer player)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • PACKET_ID

      public static final net.minecraft.resources.ResourceLocation PACKET_ID
  • Constructor Details

    • S2CConfigSyncPacket

      public S2CConfigSyncPacket(name.dashkal.minecraft.hexresearch.config.ServerConfig serverConfig)
  • Method Details

    • getServerConfig

      public name.dashkal.minecraft.hexresearch.config.ServerConfig getServerConfig()
    • sendToPlayer

      public void sendToPlayer(net.minecraft.server.level.ServerPlayer player)
    • s2cHandler

      public static void s2cHandler(net.minecraft.network.FriendlyByteBuf buf, dev.architectury.networking.NetworkManager.PacketContext context)