java.lang.Object
com.portingdeadmods.portingdeadlibs.networking.cache.AskServerPlayers
All Implemented Interfaces:
net.minecraft.network.protocol.common.custom.CustomPacketPayload

public class AskServerPlayers extends Object implements net.minecraft.network.protocol.common.custom.CustomPacketPayload
  • Nested Class Summary

    Nested classes/interfaces inherited from interface net.minecraft.network.protocol.common.custom.CustomPacketPayload

    net.minecraft.network.protocol.common.custom.CustomPacketPayload.FallbackProvider<B extends net.minecraft.network.FriendlyByteBuf>, net.minecraft.network.protocol.common.custom.CustomPacketPayload.Type<T extends net.minecraft.network.protocol.common.custom.CustomPacketPayload>, net.minecraft.network.protocol.common.custom.CustomPacketPayload.TypeAndCodec<B extends net.minecraft.network.FriendlyByteBuf,T extends net.minecraft.network.protocol.common.custom.CustomPacketPayload>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf,AskServerPlayers>
     
    static final net.minecraft.network.protocol.common.custom.CustomPacketPayload.Type<AskServerPlayers>
     
    static final AskServerPlayers
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    ping(AskServerPlayers payload, net.neoforged.neoforge.network.handling.IPayloadContext context)
     
    @NotNull net.minecraft.network.protocol.common.custom.CustomPacketPayload.Type<? extends net.minecraft.network.protocol.common.custom.CustomPacketPayload>
     

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface net.minecraft.network.protocol.common.custom.CustomPacketPayload

    toVanillaClientbound, toVanillaServerbound
  • Field Details

    • UNIT

      public static final AskServerPlayers UNIT
    • TYPE

      public static final net.minecraft.network.protocol.common.custom.CustomPacketPayload.Type<AskServerPlayers> TYPE
    • STREAM_CODEC

      public static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf,AskServerPlayers> STREAM_CODEC
  • Method Details

    • type

      @NotNull public @NotNull net.minecraft.network.protocol.common.custom.CustomPacketPayload.Type<? extends net.minecraft.network.protocol.common.custom.CustomPacketPayload> type()
      Specified by:
      type in interface net.minecraft.network.protocol.common.custom.CustomPacketPayload
    • ping

      public static void ping(AskServerPlayers payload, net.neoforged.neoforge.network.handling.IPayloadContext context)