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
ConstructorsConstructorDescriptionPatternTypeMock(org.bukkit.NamespacedKey key, String name, int ordinal, String identifier) -
Method Summary
Modifier and TypeMethodDescriptionstatic PatternTypeMockfrom(com.google.gson.JsonObject jsonObject) @NotNull StringDeprecated, for removal: This API element is subject to removal in a future version.@NotNull org.bukkit.NamespacedKeygetKey()Methods inherited from class be.seeseemelk.mockbukkit.util.OldEnumMock
compareTo, name, ordinalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.bukkit.Keyed
keyMethods inherited from interface org.bukkit.util.OldEnum
compareTo, name, ordinal
-
Constructor Details
-
PatternTypeMock
-
-
Method Details
-
from
-
getKey
@NotNull public @NotNull org.bukkit.NamespacedKey getKey()- Specified by:
getKeyin interfaceorg.bukkit.Keyed- Specified by:
getKeyin interfaceorg.bukkit.block.banner.PatternType- Overrides:
getKeyin classOldKeyedEnumMock<org.bukkit.block.banner.PatternType>
-
getIdentifier
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getIdentifierin interfaceorg.bukkit.block.banner.PatternType
-