程序包 org.bukkit
接口 Art
- 所有超级接口:
Comparable<Art>
,Keyed
,OldEnum<Art>
,RegistryAware
代表画.
The arts listed in this interface are present in the default server
or can be enabled via a FeatureFlag
.
There may be additional arts present in the server, for example from a DataPack
which can be accessed via Registry.ART
.
-
字段概要
字段修饰符和类型字段说明static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
static final Art
-
方法概要
修饰符和类型方法说明int
得到这幅画的高度,单位:块int
得到这幅画的宽度,单位:块getById
(int id) 已过时。Magic value已过时。仅用于向后兼容,请使用Registry.get(NamespacedKey)
代替。int
getId()
已过时。Magic valuegetKey()
已过时。A key might not always be present, useRegistryAware.getKeyOrThrow()
instead.已过时。only for backwards compatibility, useRegistry.get(NamespacedKey)
instead.values()
已过时。useIterable.iterator()
.从接口继承的方法 org.bukkit.registry.RegistryAware
getKeyOrNull, getKeyOrThrow, isRegistered
-
字段详细资料
-
KEBAB
-
AZTEC
-
ALBAN
-
AZTEC2
-
BOMB
-
PLANT
-
WASTELAND
-
POOL
-
COURBET
-
SEA
-
SUNSET
-
CREEBET
-
WANDERER
-
GRAHAM
-
MATCH
-
BUST
-
STAGE
-
VOID
-
SKULL_AND_ROSES
-
WITHER
-
FIGHTERS
-
POINTER
-
PIGSCENE
-
BURNING_SKULL
-
SKELETON
-
DONKEY_KONG
-
EARTH
-
WIND
-
WATER
-
FIRE
-
BAROQUE
-
HUMBLE
-
MEDITATIVE
-
PRAIRIE_RIDE
-
UNPACKED
-
BACKYARD
-
BOUQUET
-
CAVEBIRD
-
CHANGING
-
COTAN
-
ENDBOSS
-
FERN
-
FINDING
-
LOWMIST
-
ORB
-
OWLEMONS
-
PASSAGE
-
POND
-
SUNFLOWERS
-
TIDES
-
-
方法详细资料
-
getBlockWidth
int getBlockWidth()得到这幅画的宽度,单位:块原文:Gets the width of the painting, in blocks
- 返回:
- 这幅画的宽度,以块为单位.
-
getBlockHeight
int getBlockHeight()得到这幅画的高度,单位:块原文:Gets the height of the painting, in blocks
- 返回:
- 这幅画的高度,以块为单位.
-
getKey
已过时。A key might not always be present, useRegistryAware.getKeyOrThrow()
instead.返回用于此对象的命名空间标识符.原文:Return the namespaced identifier for this object.
-
getId
已过时。Magic value得到这幅画的ID.原文:Get the ID of this painting.
- 返回:
- 这幅画的ID
-
getById
已过时。Magic value通过ID获得一幅画.原文:Get a painting by its numeric ID
- 参数:
id
- 画的ID- 返回:
- 画
-
getByName
已过时。仅用于向后兼容,请使用Registry.get(NamespacedKey)
代替。通过一幅画的唯一名称来获取这幅画,忽略大小写。原文:Get a painting by its unique name
This ignores capitalization
- 参数:
name
- 画的唯一名称- 返回:
- 画
-
valueOf
已过时。only for backwards compatibility, useRegistry.get(NamespacedKey)
instead.- 参数:
name
- of the art.- 返回:
- the art with the given name.
-
values
已过时。useIterable.iterator()
.- 返回:
- an array of all known arts.
-