что такое тег в майнкрафт
Теги NBT в Майнкрафт: все, что вам нужно знать
Именованный двоичный тег (NBT) — один из наиболее сложных аспектов Minecraft, который используется в элементах и объектах для определения и установки информации о них. Тег часто используется при создании пользовательских карт, особенно для карт приключений.
Даже в обычном Minecraft теги NBT играют большую роль в определении характеристик и поведения объекта, а также в определении свойств его элемента. Эту информацию можно подробно просмотреть с помощью команды/data, которая предоставит игрокам информацию о данной сущности или предмете и их текущих тегах.
Это может быть полезно для поиска идентификаторов конкретных мобов и подобных вещей. в качестве их текущей активности, вне зависимости от того, находятся ли они в режиме любви или нет, и множество других показателей.
Minecraft: Дополнительная информация о тегах NBT
Тем не менее, теги NBT могут использоваться вместе с командами/give и/summon для создания пользовательских предметов или мобов, если игроки не хотят создавать сущность, а затем изменять ее.
Сущности по умолчанию входят в мир Minecraft без каких-либо прикрепленных к ним тегов, и если игроки захотят добавить их вручную, они могут выполнить следующий процесс:
Теги также могут использоваться для исключения определенных сущностей в мире Minecraft. Используя предыдущий пример «Друг», игроки могут использовать команду/give, а затем использовать тег объекта «@e [tag =! Friend]», чтобы исключить все, что помечено как Друг, из получения определенного предмета.
Язык сценариев имеет множество функций, которые могут использовать теги для изменения нескольких частей данного игрового мира. Игрокам может быть полезно сохранить список наиболее часто используемых документов или использовать язык сценариев в тегах или редакторах кода тегов. Это позволит им не перегружаться в игре огромным количеством доступной информации.
Изучение тегов NBT требует много времени, но для игроков Minecraft, которые могут захотеть попробовать свои силы в создании детального контента, Теги NBT — невероятно полезный инструмент, который можно применять, даже если команды, которые с ними взаимодействуют, сложны.
Игроки могут найти дополнительную информацию о тегах NBT на таких сайтах, как DigMinecraft или Minecraft Wiki, которые позволили сообществу источник всех соответствующих команд, относящихся к тегам и таргетингу, в одном месте.
Следите за Fox-Guide Minecraft на YouTube, Snapchat и Facebook, чтобы быть в курсе последних новостей и обновлений!
[Гайд] Разбираем NBT теги: Блоковые сущности
Все блоковые сущности:
id: ID блоковой сущности
x: Расположение сущности по оси x
y: Расположение сущности по оси y
z: Расположение сущности по оси z
Сундук:
CustomName: Название сундука
Items (Массив): Предметы, помещённые в сундук
Печь:
CustomName: Название печи
BurnTime: Количество тиков до того момента, после которого в печке закончится топливо (Уголь, дерево)
CookTime: Количество тиков до того момента, после которого в печке приготовится предмет
Items (Массив): Предметы, помещённые в печь
Варочная стойка:
CustomName: Название стойки
BrewTime: Количество тиков, которые понадобились для текущей варки
Items (Массив): Предметы, помещённые в стойку
Воронка:
CustomName: Название воронки
TransferCooldown: Количество тиков до того момента, после которого будет передан следующий предмет
Items (Массив): Предметы, помещённые в воронку
Раздатчик и выбрасыватель:
CustomName: Название раздатчика или выбрасывателя
Items (Массив): Предметы, помещённые в раздатчик или выбрасыватель
Цветочный горшок:
Item: ID предмета, который находится в горшке
Data: Дополнительный параметр блока, который находится в горшке
Маяк:
Levels: Количество уровней блоков под маяком
Primary: Базовый эффект
Secondary: Дополнительный эффект
Проигрыватель:
Record: Выбранная запись (Пластинка)
RecordItem: Предмет в проигрывателе
Компаратор:
OutputSignal: Сила сигнала, выдаваемого компаратором
Командный блок:
CustomName: Название командного блока
Command: Команда, прописанная в командном блоке
LastOutput: Строка состояния в командном блоке
SuccessCount: Мощность выводимого сигнала
TrackOutput: Не используется
Табличка:
Text1: Текст, написанный на первой строчке
Text2: Текст, написанный на второй строчке
Text3: Текст, написанный на третьей строчке
Text4: Текст, написанный на четвёртой строчке
Голова:
SkullType: Тип головы
Rot: Угол поворота
ExtraType: Ник игрока, чья голова надета на голов
Спаунер:
EntiyId: ID выбранной сущности
SpawnCount: Количество мобов, создающихся за раз
SpawnRange: Радиус, в котором создаются сущности
Delay: Количество тиков до того момента, после которого спавнер сработает вновь
MinSpawnDelay: Минимальное количество задержки
MaxSpawnDelay: Максимальное количество задержки
MaxNearbyEntities: Максимальное количество сущностей, которые могут находиться рядом со спавнером
RequiredPlayerRange: Радиус, в котором игрок активирует спавнер
SpawnData: Данные, копируемые в следующую сущность
SpawnPotentials (Массив): Список возможных сущностей для создания
—Type: Замена EntiyId
—Weight: Весовой шанс рождения
—Properties: Потенциально создаваемый объект
Что такое тег в майнкрафте
The Minecraft Wiki is no longer considered as official by Microsoft and therefore several changes are required to be made, including to the wiki’s logo. Please read this announcement for more information.
Items [ ]
These tags can be used on any item.
Color is a hexadecimal color value, except in decimal. An RGB to hexadecimal converter can be found here and a hexadecimal to decimal converter can be found here. Names and lore must be passed as raw JSON text.
The following syntax can also be used, and eliminates the need for backslashes:
To hide multiple tags, you need to add the value of the tags you want to hide. For example, if you want to hide the «Enchantments» and the «Attributes modifiers» tags, the value you need to put is 3 (1+2).
VALUE ranges from 1 to 127, representing 127 combinations.
Adding 1 hides «Enchantments»
Adding 2 hides «AttributeModifiers»
Adding 4 hides «Unbreakable»
Adding 8 hides «CanDestroy»
Adding 16 hides «CanPlaceOn»
Adding 32 hides other information, including potion effects, shield pattern info, «StoredEnchantments», written book «generation» and «author», «Explosion», «Fireworks», and map tooltips
Adding 64 hides «Dyed» on leather armors
Allowed 1 amount of same NBT Tags.
Unknown amount of allowed same NBT Tags.
The following table describes more details on Enchantments sub-tag.
Tagname | Description | Value Type | Allowed Values | Example |
---|---|---|---|---|
id | Refers to the id of an enchantment. See Enchanting for details on which id correlates to which enchantment. | String | Enchantment ID | «minecraft:efficiency» |
lvl | Determines the level of an enchantment. A level between one and ten displays properly on an item as a roman numeral, however, any value above that displays as enchantment.level.lvl. | Numerical | -2147483648 to 2147483647 | 4 |
The following table describes more details on display sub-tag.
The following table describes more details on the Fireworks sub-tag.
Colors is the initial color of the explosion written in decimal format.
FadeColors is the color that the explosion will fade to written in decimal format.
Flicker is whether the whether the explosion flickers while it fades. This is the effect applied when you add glowstone to the firework star.
Trail is whether the particles leave trails as they travel. This effect is applied when you add a diamond to the firework star.
Type is the shape of the firework:
3 is creeper-shaped,
Blocks [ ]
These tags are put on blocks as items.
Contents
Tutorials/Command NBT tags
The player can quickly find data tags (NBT) without the use of external editors by using /data to figure out the data for each entity or block entity. See more about this in the article Commands/data.
See Entity format for the various NBT Tags that are saved for each entity. This page also contains basic information for each NBT Tag.
When None is used in a tag name that means that this tag can be put directly into the start of the dataTag.
Что такое тег в майнкрафте
Тег игрока — это ваше альтер-эго в мире Xbox. Тег игрока состоит из псевдонима, аватара или фото (картинка игрока), если есть, и некоторых данных, которые используются, чтобы представить вас в процессе игры или при обмене информацией с другими людьми в сообществе Xbox.
[Гайд] Разбираем NBT теги: Все мобы
Итак, теги будут описаны в таком-же формате, как и на англоязычной WIKI.
Blocks [ ]
Tagname | Description | Value Type | Syntax |
---|---|---|---|
Command | Used with command blocks. Places command block with command. | A string |
Note: This is also used for Command Block Minecarts
Generic [ ]
These tags can be used on most tile entitied blocks
Tagname | Description | Value Type | Syntax |
---|---|---|---|
CustomName | Displayed in the top left corner of the inventory, instead of the regular name. Works only where such a regular name exists. | A JSON text component | |
Lock | Says a name needed on a held item to open the inventory. | A string |
Beacon [ ]
Tagname | Description | Value Type | Syntax |
---|---|---|---|
Primary | This determines the first status effect that the beacon creates. It defaults to level 1 of the effect. | An ID of a status effect. | |
Secondary | This determines the second status effect. If its the same as Primary, then it increases the status effect to level 2. Otherwise it is level 1. | Also an ID of a status effect. | |
Levels | This number determines how many layers of valid blocks are below the beacon. This value updates automatically, and overrides /data inputs immediately. | Integer |
Spawner [ ]
These tags are used when using /setblock or /summon (spawner minecarts) to create spawners. Add only those data tags you want to avoid a potential error.
Как его получить
У вас уже есть тег игрока? Войдите в приложение Xbox, используя ту же учетную запись Майкрософт, которую вы используете на Xbox. Таким образом, ваши игровые журналы, друзья, достижения и действия будут доступны вам и в приложении Xbox.
[Гайд] Разбираем NBT теги: Мирные мобы
Entities [ ]
These tags are used when using the /summon command to spawn entities or when using the /data to edit the data of entities.
This tag determines only the entity’s velocity, not the direction that it’s facing.
The following table provides information on each tagname that can be added in an NBT Tag. These tagnames are specific to the /summon command.
Villager [ ]
These tags are used when summoning villagers. (Offers NBT can’t be done in 1.14+)
Item Frame [ ]
These tags are used when summoning itemframes.
Potion [ ]
These tags are used to customize potions
Armor Stand [ ]
These tags are used when summoning armor stands.
NBT Tag | Description | Value type | Syntax |
---|---|---|---|
NoGravity | Toggles gravity | 0b or 1b (0b for false, 1b for true) | |
ShowArms | Determines whether you can see the armor stand’s arms or not. | Byte, 0b or 1b (0b for false, 1b for true) | |
NoBasePlate | Determines whether the armor stand has a base plate or not. | Byte, 0b or 1b | |
Small | Determines whether the armor stand is small or not. | Byte, 0b or 1b | |
Rotation | Changes the rotation of the armor stand | Byte, 0b or 1b | |
Marker | Small Hit box | Byte, 0b or 1b | |
Pose | Changes the pose of the armor stand’s body parts. Any subtag can be ommited | Byte, 0b or 1b | > |
Invisible | Determines whether the armor stand is invisible or not. | Byte, 0b or 1b |
Note: The Equipment tag also works for armor stands.
Turtle [ ]
These tags are used when summoning turtles.
Теги NBT в Майнкрафт: все, что вам нужно знать
Именованный двоичный тег (NBT) — один из наиболее сложных аспектов Minecraft, который используется в элементах и объектах для определения и установки информации о них. Тег часто используется при создании пользовательских карт, особенно для карт приключений.
Даже в обычном Minecraft теги NBT играют большую роль в определении характеристик и поведения объекта, а также в определении свойств его элемента. Эту информацию можно подробно просмотреть с помощью команды/data, которая предоставит игрокам информацию о данной сущности или предмете и их текущих тегах.
Это может быть полезно для поиска идентификаторов конкретных мобов и подобных вещей. в качестве их текущей активности, вне зависимости от того, находятся ли они в режиме любви или нет, и множество других показателей.
Minecraft: Дополнительная информация о тегах NBT
Тем не менее, теги NBT могут использоваться вместе с командами/give и/summon для создания пользовательских предметов или мобов, если игроки не хотят создавать сущность, а затем изменять ее.
Сущности по умолчанию входят в мир Minecraft без каких-либо прикрепленных к ним тегов, и если игроки захотят добавить их вручную, они могут выполнить следующий процесс:
Теги также могут использоваться для исключения определенных сущностей в мире Minecraft. Используя предыдущий пример «Друг», игроки могут использовать команду/give, а затем использовать тег объекта «@e [tag =! Friend]», чтобы исключить все, что помечено как Друг, из получения определенного предмета.
Язык сценариев имеет множество функций, которые могут использовать теги для изменения нескольких частей данного игрового мира. Игрокам может быть полезно сохранить список наиболее часто используемых документов или использовать язык сценариев в тегах или редакторах кода тегов. Это позволит им не перегружаться в игре огромным количеством доступной информации.
Изучение тегов NBT требует много времени, но для игроков Minecraft, которые могут захотеть попробовать свои силы в создании детального контента, Теги NBT — невероятно полезный инструмент, который можно применять, даже если команды, которые с ними взаимодействуют, сложны.
Игроки могут найти дополнительную информацию о тегах NBT на таких сайтах, как DigMinecraft или Minecraft Wiki, которые позволили сообществу источник всех соответствующих команд, относящихся к тегам и таргетингу, в одном месте.
Следите за Fox-Guide Minecraft на YouTube, Snapchat и Facebook, чтобы быть в курсе последних новостей и обновлений!
Что такое тег в майнкрафте
The Minecraft Wiki is no longer considered as official by Microsoft and therefore several changes are required to be made, including to the wiki’s logo. Please read this announcement for more information.
Items [ ]
These tags can be used on any item.
Color is a hexadecimal color value, except in decimal. An RGB to hexadecimal converter can be found here and a hexadecimal to decimal converter can be found here. Names and lore must be passed as raw JSON text.
The following syntax can also be used, and eliminates the need for backslashes:
To hide multiple tags, you need to add the value of the tags you want to hide. For example, if you want to hide the «Enchantments» and the «Attributes modifiers» tags, the value you need to put is 3 (1+2).
VALUE ranges from 1 to 127, representing 127 combinations.
Adding 1 hides «Enchantments»
Adding 2 hides «AttributeModifiers»
Adding 4 hides «Unbreakable»
Adding 8 hides «CanDestroy»
Adding 16 hides «CanPlaceOn»
Adding 32 hides other information, including potion effects, shield pattern info, «StoredEnchantments», written book «generation» and «author», «Explosion», «Fireworks», and map tooltips
Adding 64 hides «Dyed» on leather armors
Allowed 1 amount of same NBT Tags.
Unknown amount of allowed same NBT Tags.
The following table describes more details on Enchantments sub-tag.
Tagname | Description | Value Type | Allowed Values | Example |
---|---|---|---|---|
id | Refers to the id of an enchantment. See Enchanting for details on which id correlates to which enchantment. | String | Enchantment ID | «minecraft:efficiency» |
lvl | Determines the level of an enchantment. A level between one and ten displays properly on an item as a roman numeral, however, any value above that displays as enchantment.level.lvl. | Numerical | -2147483648 to 2147483647 | 4 |
The following table describes more details on display sub-tag.
The following table describes more details on the Fireworks sub-tag.
Colors is the initial color of the explosion written in decimal format.
FadeColors is the color that the explosion will fade to written in decimal format.
Flicker is whether the whether the explosion flickers while it fades. This is the effect applied when you add glowstone to the firework star.
Trail is whether the particles leave trails as they travel. This effect is applied when you add a diamond to the firework star.
Type is the shape of the firework:
3 is creeper-shaped,
Blocks [ ]
These tags are put on blocks as items.
Contents
Tutorials/Command NBT tags
The player can quickly find data tags (NBT) without the use of external editors by using /data to figure out the data for each entity or block entity. See more about this in the article Commands/data.
See Entity format for the various NBT Tags that are saved for each entity. This page also contains basic information for each NBT Tag.
When None is used in a tag name that means that this tag can be put directly into the start of the dataTag.
Что такое тег в майнкрафте
Тег игрока — это ваше альтер-эго в мире Xbox. Тег игрока состоит из псевдонима, аватара или фото (картинка игрока), если есть, и некоторых данных, которые используются, чтобы представить вас в процессе игры или при обмене информацией с другими людьми в сообществе Xbox.
[Гайд] Разбираем NBT теги: Все мобы
Итак, теги будут описаны в таком-же формате, как и на англоязычной WIKI.
Blocks [ ]
Tagname | Description | Value Type | Syntax |
---|---|---|---|
Command | Used with command blocks. Places command block with command. | A string |
Note: This is also used for Command Block Minecarts
Generic [ ]
These tags can be used on most tile entitied blocks
Tagname | Description | Value Type | Syntax |
---|---|---|---|
CustomName | Displayed in the top left corner of the inventory, instead of the regular name. Works only where such a regular name exists. | A JSON text component | |
Lock | Says a name needed on a held item to open the inventory. | A string |
Beacon [ ]
Tagname | Description | Value Type | Syntax |
---|---|---|---|
Primary | This determines the first status effect that the beacon creates. It defaults to level 1 of the effect. | An ID of a status effect. | |
Secondary | This determines the second status effect. If its the same as Primary, then it increases the status effect to level 2. Otherwise it is level 1. | Also an ID of a status effect. | |
Levels | This number determines how many layers of valid blocks are below the beacon. This value updates automatically, and overrides /data inputs immediately. | Integer |
Spawner [ ]
These tags are used when using /setblock or /summon (spawner minecarts) to create spawners. Add only those data tags you want to avoid a potential error.
Как его получить
У вас уже есть тег игрока? Войдите в приложение Xbox, используя ту же учетную запись Майкрософт, которую вы используете на Xbox. Таким образом, ваши игровые журналы, друзья, достижения и действия будут доступны вам и в приложении Xbox.
[Гайд] Разбираем NBT теги: Мирные мобы
Entities [ ]
These tags are used when using the /summon command to spawn entities or when using the /data to edit the data of entities.
This tag determines only the entity’s velocity, not the direction that it’s facing.
The following table provides information on each tagname that can be added in an NBT Tag. These tagnames are specific to the /summon command.
Villager [ ]
These tags are used when summoning villagers. (Offers NBT can’t be done in 1.14+)
Item Frame [ ]
These tags are used when summoning itemframes.
Potion [ ]
These tags are used to customize potions
Armor Stand [ ]
These tags are used when summoning armor stands.
NBT Tag | Description | Value type | Syntax |
---|---|---|---|
NoGravity | Toggles gravity | 0b or 1b (0b for false, 1b for true) | |
ShowArms | Determines whether you can see the armor stand’s arms or not. | Byte, 0b or 1b (0b for false, 1b for true) | |
NoBasePlate | Determines whether the armor stand has a base plate or not. | Byte, 0b or 1b | |
Small | Determines whether the armor stand is small or not. | Byte, 0b or 1b | |
Rotation | Changes the rotation of the armor stand | Byte, 0b or 1b | |
Marker | Small Hit box | Byte, 0b or 1b | |
Pose | Changes the pose of the armor stand’s body parts. Any subtag can be ommited | Byte, 0b or 1b | > |
Invisible | Determines whether the armor stand is invisible or not. | Byte, 0b or 1b |
Note: The Equipment tag also works for armor stands.
Turtle [ ]
These tags are used when summoning turtles.