Class WrapperPlayServerOpenWindow

java.lang.Object
com.github.retrooper.packetevents.wrapper.PacketWrapper<WrapperPlayServerOpenWindow>
com.github.retrooper.packetevents.wrapper.play.server.WrapperPlayServerOpenWindow

public class WrapperPlayServerOpenWindow extends PacketWrapper<WrapperPlayServerOpenWindow>
  • Constructor Details

    • WrapperPlayServerOpenWindow

      public WrapperPlayServerOpenWindow(PacketSendEvent event)
    • WrapperPlayServerOpenWindow

      public WrapperPlayServerOpenWindow(int containerId, int type, net.kyori.adventure.text.Component title)
    • WrapperPlayServerOpenWindow

      public WrapperPlayServerOpenWindow(int containerId, String legacyType, net.kyori.adventure.text.Component title, int legacySlots, int horseId)
    • WrapperPlayServerOpenWindow

      public WrapperPlayServerOpenWindow(int containerId, int type, net.kyori.adventure.text.Component title, int legacySlots, boolean useProvidedWindowTitle, int horseId)
  • Method Details

    • read

      public void read()
      Overrides:
      read in class PacketWrapper<WrapperPlayServerOpenWindow>
    • write

      public void write()
      Overrides:
      write in class PacketWrapper<WrapperPlayServerOpenWindow>
    • copy

      public void copy(WrapperPlayServerOpenWindow wrapper)
      Overrides:
      copy in class PacketWrapper<WrapperPlayServerOpenWindow>
    • getContainerId

      public int getContainerId()
    • setContainerId

      public void setContainerId(int containerId)
    • getType

      public int getType()
    • setType

      public void setType(int type)
    • getLegacyType

      public String getLegacyType()
    • setLegacyType

      public void setLegacyType(String legacyType)
    • getLegacySlots

      public int getLegacySlots()
    • setLegacySlots

      public void setLegacySlots(int legacySlots)
    • getHorseId

      public int getHorseId()
    • setHorseId

      public void setHorseId(int horseId)
    • getTitle

      public net.kyori.adventure.text.Component getTitle()
    • setTitle

      public void setTitle(net.kyori.adventure.text.Component title)
    • isUseProvidedWindowTitle

      public boolean isUseProvidedWindowTitle()
    • setUseProvidedWindowTitle

      public void setUseProvidedWindowTitle(boolean useProvidedWindowTitle)