| Только для Java Edition |
Представленные ниже значения данных относятся к различным типам блоков и элементов из Java Edition и во многом используются Minecraft. Идентификаторы блоков используются для определения блоков, размещённых в мире, и их позиций в инвентаре (включая предметы в сундуках и предметы, упавшие в мире). Идентификаторы предметов действительны только для предметов. Также и идентификаторы сущностей действительны только для сущностей, таких как мобы и снаряды.
Идентификаторы
Все эти идентификаторы существуют в формате идентификатора пространства имён, но само пространство имён minecraft используется по умолчанию. Игра поддерживает введение идентификаторов либо с, либо без использования префикса minecraft:.
Блоки
Fluids
| Fluid | Namespaced ID |
|---|---|
| Empty | empty
|
| Файл:Lava.png Flowing Lava | flowing_lava
|
| Файл:Water.png Flowing Water | flowing_water
|
| Файл:Lava.png Lava | lava
|
| Файл:Water.png Water | water
|
Шаблон:LoadPage
Шаблон:LoadPage
Шаблон:LoadPage
Enchantments
| Enchantment | Namespaced ID |
|---|---|
| Aqua Affinity | aqua_affinity
|
| Bane of Arthropods | bane_of_arthropods
|
| Curse of Binding | binding_curse
|
| Blast Protection | blast_protection
|
| Channeling | channeling
|
| Depth Strider | depth_strider
|
| Efficiency | efficiency
|
| Feather Falling | feather_falling
|
| Fire Aspect | fire_aspect
|
| Fire Protection | fire_protection
|
| Flame | flame
|
| Fortune | fortune
|
| Frost Walker | frost_walker
|
| Impaling | impaling
|
| Infinity | infinity
|
| Knockback | knockback
|
| Looting | looting
|
| Loyalty | loyalty
|
| Luck of the Sea | luck_of_the_sea
|
| Lure | lure
|
| Mending | mending
|
| Multishot | multishot
|
| Piercing | piercing
|
| Power | power
|
| Projectile Protection | projectile_protection
|
| Protection | protection
|
| Punch | punch
|
| Quick Charge | quick_charge
|
| Respiration | respiration
|
| Riptide | riptide
|
| Sharpness | sharpness
|
| Silk Touch | silk_touch
|
| Smite | smite
|
| Sweeping Edge | sweeping
|
| Thorns | thorns
|
| Unbreaking | unbreaking
|
| Curse of Vanishing | vanishing_curse
|
Шаблон:LoadPage
Шаблон:LoadPage
Dimensions
| Dimension | Namespaced ID | Numeric ID |
|---|---|---|
| Шаблон:EnvSprite Overworld | overworld
|
0 |
| Шаблон:EnvSprite The End | the_end
|
1 |
| Шаблон:EnvSprite The Nether | the_nether
|
-1 |
Block states
age
Tracks the age of plants to handle growth and of fire to handle spread.
| State value | Blocks |
|---|---|
Integer (0 to 1)
|
Шаблон:BlockLink |
Integer (0 to 2)
|
Шаблон:BlockLink |
Integer (0 to 3)
|
|
Integer (0 to 5)
|
Шаблон:BlockLink |
Integer (0 to 7)
|
|
Integer (0 to 15)
|
|
Integer (0 to 25)
|
Шаблон:BlockLink |
attached
Whether the tripwire hook is connected to a valid tripwire circuit or not.
| State value | Blocks |
|---|---|
Boolean (false or true)
|
|
attachment
How this block is attached to the block it is on.
| State value | Blocks |
|---|---|
|
Шаблон:BlockLink |
axis
What axis the block is oriented to.
| State value | Blocks |
|---|---|
|
|
|
Шаблон:BlockLink |
bites
The number of bites taken from the cake.
| State value | Blocks |
|---|---|
Integer (0 to 6)
|
Шаблон:BlockLink |
bottom
Whether this scaffolding is floating (shows the bottom).
| State value | Blocks |
|---|---|
Boolean (false or true)
|
Шаблон:BlockLink |
conditional
Whether or not the command block is conditional.
| State value | Blocks |
|---|---|
Boolean (false or true)
|
Шаблон:BlockLink (any variant) |
delay
The amount of time between receiving a signal and responding.
| State value | Blocks |
|---|---|
Integer (1 to 4)
|
Шаблон:BlockLink |
disarmed
Whether the tripwire is broken using shears or not.
| State value | Blocks |
|---|---|
Boolean (false or true)
|
Шаблон:BlockLink |
distance
The distance from a base block.
| State value | Blocks |
|---|---|
Integer (0 to 7)
|
Шаблон:BlockLink |
Integer (1 to 7)
|
Шаблон:BlockLink (any) |
down
Determines whether something is below the block.
| State value | Blocks |
|---|---|
Boolean (false or true)
|
|
drag
Determine whether the bubble column is a whirlpool or upwards.
| State value | Blocks |
|---|---|
Boolean (false or true)
|
Шаблон:BlockLink |
east
Determines whether something is on the east side of the block.
| State value | Blocks |
|---|---|
Boolean (false or true)
|
|
|
Шаблон:BlockLink |
eggs
The amount of eggs in this block.
| State value | Blocks |
|---|---|
Integer (1 to 4)
|
Шаблон:BlockLink |
enabled
Whether or not the hopper can collect and transfer items.
| State value | Blocks |
|---|---|
Boolean (false or true)
|
Шаблон:BlockLink |
extended
Whether or not the piston is extended.
| State value | Blocks |
|---|---|
Boolean (false or true)
|
|
eye
Whether the frame contains an eye of ender.
| State value | Blocks |
|---|---|
Boolean (false or true)
|
Шаблон:BlockLink |
face
What side of a block the attached block is on.
| State value | Blocks |
|---|---|
|
|
facing
What direction the block faces.
| State value | Blocks |
|---|---|
|
|
|
|
|
Шаблон:BlockLink |
half
For tall plants and doors, which half of the door or plant occupies the block space. For trapdoors and stairs, what part of the block space they are in.
| State value | Blocks |
|---|---|
|
|
|
|
hanging
Whether or not the lantern hangs on the ceiling.
| State value | Blocks |
|---|---|
Boolean (false or true)
|
Шаблон:BlockLink |
has_book
Whether or not this lectern holds a book.
| State value | Blocks |
|---|---|
Boolean (false or true)
|
Шаблон:BlockLink |
has_bottle_0
Whether or not a bottle is in slot 1 of the brewing stand.
| State value | Blocks |
|---|---|
Boolean (false or true)
|
Шаблон:BlockLink |
has_bottle_1
Whether or not a bottle is in slot 2 of the brewing stand.
| State value | Blocks |
|---|---|
Boolean (false or true)
|
Шаблон:BlockLink |
has_bottle_2
Whether or not a bottle is in slot 3 of the brewing stand.
| State value | Blocks |
|---|---|
Boolean (false or true)
|
Шаблон:BlockLink |
has_record
True when the jukebox contains a music disc.
| State value | Blocks |
|---|---|
Boolean (false or true)
|
Шаблон:BlockLink |
hatch
Determines how close an egg is to hatching; starts at 0 and is randomly incremented.
| State value | Blocks |
|---|---|
Integer (0 to 2)
|
Шаблон:BlockLink |
hinge
Identifies the side the hinge is on (when facing the same direction as the door's inside).
| State value | Blocks |
|---|---|
|
Шаблон:BlockLink (any) |
in_wall
If true, the gate is lowered by three pixels, to accommodate attaching more cleanly with walls.
| State value | Blocks |
|---|---|
Boolean (false or true)
|
Шаблон:BlockLink (any) |
instrument
The instrument sound the note block makes when it gets powered or used.
| State value | Blocks |
|---|---|
|
Шаблон:BlockLink |
inverted
Whether the daylight detector detects light (false) or darkness (true).
| State value | Blocks |
|---|---|
Boolean (false or true)
|
Шаблон:BlockLink |
layers
How many layers of snow are on top of each other.
| State value | Blocks |
|---|---|
Integer (1 to 8)
|
Шаблон:BlockLink |
leaves
How big the leaves are on this bamboo.
| State value | Blocks |
|---|---|
|
Шаблон:BlockLink |
level
How much water or lava is in this block or cauldron.
| State value | Blocks |
|---|---|
Integer (0 to 3)
|
Шаблон:BlockLink |
Integer (0 to 8)
|
Шаблон:BlockLink |
Integer (0 to 15)
|
|
lit
Whether the block is turned on or off.
| State value | Blocks |
|---|---|
Boolean (false or true)
|
|
locked
Whether the repeater can change it is powered state (false) or not (true).
| State value | Blocks |
|---|---|
Boolean (false or true)
|
Шаблон:BlockLink |
mode
The mode the comparator or structure block is in.
| State value | Blocks |
|---|---|
|
Шаблон:BlockLink |
|
Шаблон:BlockLink |
moisture
How wet the farmland is.
| State value | Blocks |
|---|---|
Integer (0 to 7)
|
Шаблон:BlockLink |
north
Determines whether something is on the north side of the block.
| State value | Blocks |
|---|---|
Boolean (false or true)
|
|
|
Шаблон:BlockLink |
note
The note the note block will play when it gets powered.
| State value | Blocks |
|---|---|
Integer (0 to 24)
|
Шаблон:BlockLink |
occupied
If there's already a player in this bed.
| State value | Blocks |
|---|---|
Boolean (false or true)
|
Шаблон:BlockLink (any) |
open
Whether the door is open or closed.
| State value | Blocks |
|---|---|
Boolean (false or true)
|
|
part
Whether this is the foot or head end of the bed.
| State value | Blocks |
|---|---|
|
Шаблон:BlockLink (any) |
persistent
Whether leaves will decay (false) or not (true)
| State value | Blocks |
|---|---|
Boolean (false or true)
|
Шаблон:BlockLink (any) |
pickles
The amount of pickles in this block.
| State value | Blocks |
|---|---|
Integer (1 to 4)
|
Шаблон:BlockLink |
power
The power level of Redstone emission.
| State value | Blocks |
|---|---|
Integer (0 to 15)
|
|
powered
Whether the block is powered.
| State value | Blocks |
|---|---|
Boolean (false or true)
|
|
rotation
The rotation of standing heads, signs and banners.
| State value | Blocks |
|---|---|
Integer (0 to 15)
|
|
shape
The way this block connects to its neighbors.
| State value | Blocks |
|---|---|
|
|
|
Шаблон:BlockLink (any) |
|
Шаблон:BlockLink |
short
Whether this piston head's arm is 4/16th of a block shorter
| State value | Blocks |
|---|---|
Boolean (false or true)
|
Шаблон:BlockLink |
signal_fire
Whether this campfire has higher smoke or not.
| State value | Blocks |
|---|---|
Boolean (false or true)
|
Шаблон:BlockLink |
snowy
Whether this block uses the snowy side texture.
| State value | Blocks |
|---|---|
Boolean (false or true)
|
|
south
Determines whether something is on the south side of the block.
| State value | Blocks |
|---|---|
Boolean (false or true)
|
|
|
Шаблон:BlockLink |
stage
Whether this sapling is ready to grow.
| State value | Blocks |
|---|---|
Integer (0 to 1)
|
|
triggered
Whether this block has been activated.
| State value | Blocks |
|---|---|
Boolean (false or true)
|
|
type
Determines the variant of this block.
| State value | Blocks |
|---|---|
|
|
|
|
|
Шаблон:BlockLink (any) |
unstable
Whether the tnt will explode when punched or not.
| State value | Blocks |
|---|---|
Boolean (false or true)
|
Шаблон:BlockLink |
up
Determines whether something is above the block.
| State value | Blocks |
|---|---|
Boolean (false or true)
|
|
waterlogged
Whether the block has water in it.
| State value | Blocks |
|---|---|
Boolean (false or true)
|
|
west
Determines whether something is on the west side of the block.
| State value | Blocks |
|---|---|
Boolean (false or true)
|
|
|
Шаблон:BlockLink |
Шаблон:LoadPage