Class PlayerTexturesMock

java.lang.Object
be.seeseemelk.mockbukkit.profile.PlayerTexturesMock
All Implemented Interfaces:
org.bukkit.profile.PlayerTextures

public class PlayerTexturesMock extends Object implements org.bukkit.profile.PlayerTextures
Mock implementation of a PlayerTextures.
  • Constructor Details

  • Method Details

    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface org.bukkit.profile.PlayerTextures
    • clear

      public void clear()
      Specified by:
      clear in interface org.bukkit.profile.PlayerTextures
    • getSkin

      @Nullable public @Nullable URL getSkin()
      Specified by:
      getSkin in interface org.bukkit.profile.PlayerTextures
    • setSkin

      public void setSkin(@Nullable @Nullable URL skinUrl)
      Specified by:
      setSkin in interface org.bukkit.profile.PlayerTextures
    • setSkin

      public void setSkin(@Nullable @Nullable URL skinUrl, @Nullable org.bukkit.profile.PlayerTextures.SkinModel skinModel)
      Specified by:
      setSkin in interface org.bukkit.profile.PlayerTextures
    • getSkinModel

      @NotNull public @NotNull org.bukkit.profile.PlayerTextures.SkinModel getSkinModel()
      Specified by:
      getSkinModel in interface org.bukkit.profile.PlayerTextures
    • getCape

      @Nullable public @Nullable URL getCape()
      Specified by:
      getCape in interface org.bukkit.profile.PlayerTextures
    • setCape

      public void setCape(@Nullable @Nullable URL capeUrl)
      Specified by:
      setCape in interface org.bukkit.profile.PlayerTextures
    • getTimestamp

      public long getTimestamp()
      Specified by:
      getTimestamp in interface org.bukkit.profile.PlayerTextures
    • isSigned

      public boolean isSigned()
      Specified by:
      isSigned in interface org.bukkit.profile.PlayerTextures
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object