接口 PatternType
- 所有超级接口:
- Comparable<PatternType>,- Keyed,- OldEnum<PatternType>,- RegistryAware
- 
字段概要字段修饰符和类型字段说明static final PatternTypestatic final PatternTypestatic final PatternTypestatic final PatternTypestatic final PatternTypestatic final PatternTypestatic final PatternTypestatic final PatternTypestatic final PatternTypestatic final PatternTypestatic final PatternTypestatic final PatternTypestatic final PatternTypestatic final PatternTypestatic final PatternTypestatic final PatternTypestatic final PatternTypestatic final PatternTypestatic final PatternTypestatic final PatternTypestatic final PatternTypestatic final PatternTypestatic final PatternTypestatic final PatternTypestatic final PatternTypestatic final PatternTypestatic final PatternTypestatic final PatternTypestatic final PatternTypestatic final PatternTypestatic final PatternTypestatic final PatternTypestatic final PatternTypestatic final PatternTypestatic final PatternTypestatic final PatternTypestatic final PatternTypestatic final PatternTypestatic final PatternTypestatic final PatternTypestatic final PatternTypestatic final PatternTypestatic final PatternType
- 
方法概要修饰符和类型方法说明static @Nullable PatternTypegetByIdentifier(@Nullable String identifier) 已过时, 待删除: 此 API 元素将从以后的版本中删除。已过时, 待删除: 此 API 元素将从以后的版本中删除。魔法值getKey()已过时。A key might not always be present, useRegistryAware.getKeyOrThrow()instead.static @NotNull PatternType已过时。only for backwards compatibility, useRegistry.get(NamespacedKey)instead.static @NotNull PatternType[]values()已过时。useIterable.iterator().从接口继承的方法 org.bukkit.registry.RegistryAwaregetKeyOrNull, getKeyOrThrow, isRegistered
- 
字段详细资料- 
BASE
- 
SQUARE_BOTTOM_LEFT
- 
SQUARE_BOTTOM_RIGHT
- 
SQUARE_TOP_LEFT
- 
SQUARE_TOP_RIGHT
- 
STRIPE_BOTTOM
- 
STRIPE_TOP
- 
STRIPE_LEFT
- 
STRIPE_RIGHT
- 
STRIPE_CENTER
- 
STRIPE_MIDDLE
- 
STRIPE_DOWNRIGHT
- 
STRIPE_DOWNLEFT
- 
SMALL_STRIPES
- 
CROSS
- 
STRAIGHT_CROSS
- 
TRIANGLE_BOTTOM
- 
TRIANGLE_TOP
- 
TRIANGLES_BOTTOM
- 
TRIANGLES_TOP
- 
DIAGONAL_LEFT
- 
DIAGONAL_UP_RIGHT
- 
DIAGONAL_UP_LEFT
- 
DIAGONAL_RIGHT
- 
CIRCLE
- 
RHOMBUS
- 
HALF_VERTICAL
- 
HALF_HORIZONTAL
- 
HALF_VERTICAL_RIGHT
- 
HALF_HORIZONTAL_BOTTOM
- 
BORDER
- 
CURLY_BORDER
- 
CREEPER
- 
GRADIENT
- 
GRADIENT_UP
- 
BRICKS
- 
SKULL
- 
FLOWER
- 
MOJANG
- 
GLOBE
- 
PIGLIN
- 
FLOW
- 
GUSTER
 
- 
- 
方法详细资料- 
getKey已过时。A key might not always be present, useRegistryAware.getKeyOrThrow()instead.返回用于此对象的命名空间标识符.原文:Return the namespaced identifier for this object. 
- 
getIdentifier已过时, 待删除: 此 API 元素将从以后的版本中删除。魔法值返回用于表示这种图案类型的标识符.原文: Returns the identifier used to represent this pattern type - 返回:
- 图案的标识符
- 另请参阅:
 
- 
getByIdentifier@Contract("null -> null") @Nullable @Deprecated(since="1.20.4", forRemoval=true) static @Nullable PatternType getByIdentifier(@Nullable @Nullable String identifier) 已过时, 待删除: 此 API 元素将从以后的版本中删除。返回与标识符匹配的图案, 如果找不到匹配的图案类型, 将返回 null.原文: Returns the pattern type which matches the passed identifier or null if no matches are found - 参数:
- identifier- 标识符
- 返回:
- 匹配的图案类型或 null
- 另请参阅:
 
- 
valueOf@NotNull @Deprecated(since="1.21") static @NotNull PatternType valueOf(@NotNull @NotNull String name) 已过时。only for backwards compatibility, useRegistry.get(NamespacedKey)instead.- 参数:
- name- of the pattern type.
- 返回:
- the pattern type with the given name.
 
- 
values已过时。useIterable.iterator().- 返回:
- an array of all known pattern types.
 
 
-