Class WrapperPlayServerUseBed

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

public class WrapperPlayServerUseBed extends PacketWrapper<WrapperPlayServerUseBed>
  • Constructor Details

    • WrapperPlayServerUseBed

      public WrapperPlayServerUseBed(PacketSendEvent event)
    • WrapperPlayServerUseBed

      public WrapperPlayServerUseBed(int entityId, Vector3i position)
      This packet is for 1.12 and older only, please use entity metadata for newer versions
      Parameters:
      entityId - The entity of the sleeping player, does not have to be the player you send this to
      position - The block position of the head of the bed
  • Method Details