Class PaintingMock

All Implemented Interfaces:
PersistentDataViewHolder, net.kyori.adventure.audience.Audience, net.kyori.adventure.pointer.Pointered, net.kyori.adventure.sound.Sound.Emitter, net.kyori.adventure.text.event.HoverEventSource<net.kyori.adventure.text.event.HoverEvent.ShowEntity>, CommandSender, Entity, Hanging, Painting, Attachable, Directional, Metadatable, Nameable, Permissible, ServerOperator, PersistentDataHolder, MessageTarget

public class PaintingMock extends HangingMock implements Painting
Mock implementation of a Painting.
See Also:
  • Constructor Details

    • PaintingMock

      public PaintingMock(@NotNull @NotNull ServerMock server, @NotNull @NotNull UUID uuid)
      Constructs a new PaintingMock on the provided ServerMock with a specified UUID.
      Parameters:
      server - The server to create the entity on.
      uuid - The UUID of the entity.
    • PaintingMock

      public PaintingMock(@NotNull @NotNull ServerMock server, @NotNull @NotNull UUID uuid, @NotNull @NotNull Art art)
      Constructs a new PaintingMock on the provided ServerMock with a specified UUID.
      Parameters:
      server - The server to create the entity on.
      uuid - The UUID of the entity.
      art - The art to be used in the painting.
  • Method Details