Class MessageWrapperNeoForge1_21

java.lang.Object
mods.thecomputerizer.theimpossiblelibrary.api.network.message.MessageWrapperAPI<net.minecraft.server.level.ServerPlayer, net.neoforged.neoforge.network.handling.IPayloadContext>
mods.thecomputerizer.theimpossiblelibrary.neoforge.v21.network.MessageWrapperNeoForge1_21
All Implemented Interfaces:
net.minecraft.network.protocol.common.custom.CustomPacketPayload

public class MessageWrapperNeoForge1_21 extends mods.thecomputerizer.theimpossiblelibrary.api.network.message.MessageWrapperAPI<net.minecraft.server.level.ServerPlayer, net.neoforged.neoforge.network.handling.IPayloadContext> 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 inherited from class mods.thecomputerizer.theimpossiblelibrary.api.network.message.MessageWrapperAPI

    info
  • Method Summary

    Modifier and Type
    Method
    Description
     
    getInstance(io.netty.buffer.ByteBuf buf)
     
    @NotNull net.minecraft.network.protocol.common.custom.CustomPacketPayload.Type<MessageWrapperNeoForge1_21>
     

    Methods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.network.message.MessageWrapperAPI

    decode, encode, handle, send, setMessage, setMessages, setMessages, setPlayer, setPlayers, setPlayers

    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
  • Method Details

    • getInstance

      public static MessageWrapperNeoForge1_21 getInstance()
    • getInstance

      public static MessageWrapperNeoForge1_21 getInstance(io.netty.buffer.ByteBuf buf)
    • type

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