Class MessageWrapperNeoForge1_20_4

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.v20.m4.network.MessageWrapperNeoForge1_20_4
All Implemented Interfaces:
net.minecraft.network.protocol.common.custom.CustomPacketPayload

public class MessageWrapperNeoForge1_20_4 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
  • 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.resources.ResourceLocation
    id()
     
    void
    write(@NotNull net.minecraft.network.FriendlyByteBuf buf)
     

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

    • getInstance

      public static MessageWrapperNeoForge1_20_4 getInstance()
    • getInstance

      public static MessageWrapperNeoForge1_20_4 getInstance(io.netty.buffer.ByteBuf buf)
    • id

      @NotNull public @NotNull net.minecraft.resources.ResourceLocation id()
      Specified by:
      id in interface net.minecraft.network.protocol.common.custom.CustomPacketPayload
    • write

      public void write(@NotNull @NotNull net.minecraft.network.FriendlyByteBuf buf)
      Specified by:
      write in interface net.minecraft.network.protocol.common.custom.CustomPacketPayload