Class PatternTypeMock

java.lang.Object
be.seeseemelk.mockbukkit.util.OldEnumMock<org.bukkit.block.banner.PatternType>
be.seeseemelk.mockbukkit.util.OldKeyedEnumMock<org.bukkit.block.banner.PatternType>
be.seeseemelk.mockbukkit.block.banner.PatternTypeMock
All Implemented Interfaces:
Comparable<org.bukkit.block.banner.PatternType>, net.kyori.adventure.key.Keyed, org.bukkit.block.banner.PatternType, org.bukkit.Keyed, org.bukkit.util.OldEnum<org.bukkit.block.banner.PatternType>

public class PatternTypeMock extends OldKeyedEnumMock<org.bukkit.block.banner.PatternType> implements org.bukkit.block.banner.PatternType
  • Field Summary

    Fields inherited from interface org.bukkit.block.banner.PatternType

    BASE, BORDER, BRICKS, CIRCLE, CREEPER, CROSS, CURLY_BORDER, DIAGONAL_LEFT, DIAGONAL_RIGHT, DIAGONAL_UP_LEFT, DIAGONAL_UP_RIGHT, FLOW, FLOWER, GLOBE, GRADIENT, GRADIENT_UP, GUSTER, HALF_HORIZONTAL, HALF_HORIZONTAL_BOTTOM, HALF_VERTICAL, HALF_VERTICAL_RIGHT, MOJANG, PIGLIN, RHOMBUS, SKULL, SMALL_STRIPES, SQUARE_BOTTOM_LEFT, SQUARE_BOTTOM_RIGHT, SQUARE_TOP_LEFT, SQUARE_TOP_RIGHT, STRAIGHT_CROSS, STRIPE_BOTTOM, STRIPE_CENTER, STRIPE_DOWNLEFT, STRIPE_DOWNRIGHT, STRIPE_LEFT, STRIPE_MIDDLE, STRIPE_RIGHT, STRIPE_TOP, TRIANGLE_BOTTOM, TRIANGLE_TOP, TRIANGLES_BOTTOM, TRIANGLES_TOP
  • Constructor Summary

    Constructors
    Constructor
    Description
    PatternTypeMock(org.bukkit.NamespacedKey key, String name, int ordinal, String identifier)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    from(com.google.gson.JsonObject jsonObject)
     
    @NotNull String
    Deprecated, for removal: This API element is subject to removal in a future version.
    @NotNull org.bukkit.NamespacedKey
     

    Methods inherited from class be.seeseemelk.mockbukkit.util.OldEnumMock

    compareTo, name, ordinal

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.bukkit.Keyed

    key

    Methods inherited from interface org.bukkit.util.OldEnum

    compareTo, name, ordinal
  • Constructor Details

    • PatternTypeMock

      public PatternTypeMock(org.bukkit.NamespacedKey key, String name, int ordinal, String identifier)
  • Method Details

    • from

      public static PatternTypeMock from(com.google.gson.JsonObject jsonObject)
    • getKey

      @NotNull public @NotNull org.bukkit.NamespacedKey getKey()
      Specified by:
      getKey in interface org.bukkit.Keyed
      Specified by:
      getKey in interface org.bukkit.block.banner.PatternType
      Overrides:
      getKey in class OldKeyedEnumMock<org.bukkit.block.banner.PatternType>
    • getIdentifier

      @Deprecated(forRemoval=true, since="1.21") @NotNull public @NotNull String getIdentifier()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getIdentifier in interface org.bukkit.block.banner.PatternType