Interface HTCustomPayload.C2S

  • All Implemented Interfaces:
    hiiragi283.core.api.network.HTCustomPayload , net.minecraft.network.protocol.common.custom.CustomPacketPayload

    
    public interface HTCustomPayload.C2S
     implements HTCustomPayload
                        

    クライアント側からサーバー側に送るHTCustomPayloadの拡張インターフェースです。

    Since:

    0.1.0

    Author:

    Hiiragi Tsubasa

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Unit handle(ServerPlayer player, MinecraftServer server) 指定された引数からパケットを処理します。
      • Methods inherited from class net.minecraft.network.protocol.common.custom.CustomPacketPayload

        toVanillaClientbound, toVanillaServerbound, type
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • handle

         abstract Unit handle(ServerPlayer player, MinecraftServer server)

        指定された引数からパケットを処理します。

        Parameters:
        player - サーバー側のプレイヤー
        server - サーバーのインスタンス