Class HTUpdateMenuPacket

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

    
    public final class HTUpdateMenuPacket
     implements HTCustomPayload.S2C, HTCustomPayload.C2S
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Integer getContainerId()
      final Map<Integer, HTSyncablePayload> getMap()
      CustomPacketPayload.Type<HTUpdateMenuPacket> type()
      Unit handle(AbstractClientPlayer player, Minecraft minecraft) 指定された引数からパケットを処理します。
      Unit handle(ServerPlayer player, MinecraftServer server) 指定された引数からパケットを処理します。
      final static HTUpdateMenuPacket create(Integer containerId, Function1<Map<Integer, HTSyncablePayload>, Unit> builderAction)
      • Methods inherited from class net.minecraft.network.protocol.common.custom.CustomPacketPayload

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

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait