Как посмотреть nbt теги предмета в minecraft
Перейти к содержимому

Как посмотреть nbt теги предмета в minecraft

  • автор:

[Гайд] Разбираем NBT теги: Предметы и транспорт

[Гайд] Разбираем NBT теги: Предметы и транспорт

Предметы:
Count: Количество предметов.
Slot: Слот, в который будет помещён предмет.
Damage: Дополнительный параметр предмета. Например: Цвет шерсти.
id: ID предмета.
tag (Массив): NBT параметры вызываемого объекта.

Все типы вагонеток:
CustomDisplayTile: 1 — если отображать посаженные в вагонетку объекты. Если нет — 0.
DisplayTile: ID блока, посаженного в вагонетку.
DisplayData: Дополнительные параметры блока, посаженного в вагонетку.
DisplayOffset: Высота посаженного блока.
CustomName: Имя вагонетки. Используется, например, как имя командного блока.

Обычная вагонетка: Удалено в версии 13w02a.

Вагонетка с сундуком или воронкой:
Items (Массив): Предметы, которые содержатся в контейнерах вагонетки. О том, как работать с предметами было написано выше.

Вагонетка с печкой:
PushX: Сила толчка по оси X.
PushZ: Сила толчка по оси Z.
Fuel: Количество тиков до того момента, после которого в печке закончится топливо.

Вагонетка с воронкой:
TransferCooldown: Количество тиков до того момента, после которого в воронку поступит следующий предмет.

Вагонетка с динамитом:
TNTFuse: 1 — если динамит не активирован. Если активирован — 0.

Вагонетка со спавнером: Параметры спавнера. О том, как с ними работать, будет написано в одной из следующих статей.

Вагонетка с командным блоком:
Command: Команда, прописанная в командном блоке.
SuccessCount: Сила сигнала, получаемая компаратором в результате выполнения команды.
LastOutput: Информация, выводимая при выполнении команды в специальное поле командного блока.
TrackOutput: Неизвестно.

Как посмотреть нбт теги предмета майнкрафт — Сайт о Игре Minecraft

Как посмотреть нбт теги предмета майнкрафт — Советы и Инструкции

Как посмотреть нбт теги предмета майнкрафт

Чтобы просмотреть NBT-теги предмета в Minecraft, следуйте этим шагам:

1. Откройте игру Minecraft и создайте мир, в котором вы хотите просмотреть NBT-теги предмета.

2. Выберите предмет, который вы хотите изучить, и поместите его в любой слот вашего инвентаря.

3. Откройте консоль чата, нажав на клавишу «T» на клавиатуре.

4. Введите команду /data get entity @s Inventory.0 (здесь «0» — это номер слота, в котором находится предмет), а затем нажмите клавишу «Enter».

5. После выполнения команды вы увидите вывод информации о предмете, который вы выбрали, включая его NBT-теги.

6. Если вы хотите получить больше информации о NBT-тегах предмета, можете использовать команду /data get entity @s Inventory.0 , которая покажет все теги предмета, включая скрытые.

7. Чтобы скопировать информацию о NBT-тегах предмета, используйте команду /data get entity @s Inventory.0 | clip (для Windows) или /data get entity @s Inventory.0 | pbcopy (для Mac), и затем вставьте эти данные в текстовый документ.

— Если вы хотите изучить NBT-теги других сущностей, в том числе мобов или блоков, просто замените «@s» на соответствующую сущность в команде.

— Обратите внимание, что содержимое NBT-тегов предметов может быть очень сложным, поэтому для полного понимания может потребоваться изучение документации по NBT-тегам Minecraft или использование сторонних программ, таких как NBTExplorer.

Tutorials/Command NBT tags

NBT tags can be specified for items and entities created with the /give and /summon commands. Each tag has the format <tagname>:<value> where <tagname> describes what it does, and <value> is what it applies. Multiple tags are separated by commas. (e.g. – note that the entire data tag is itself a Compound tag (All within a set of <> ). Tag names are case-sensitive, and white space is ignored. Additionally, some tags which are either true or false are stored as Byte tags (Example: )

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.

Contents

Items [ ]

These can be used in /give and /item commands as well as /clear . For commands such as /summon and /setblock , place them inside of a tag.

These tags can be used on any item.

A copyable example:

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.

Any At least one >

A copyable example:

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).

The value ranges from 1 to 255, representing 255 combinations or 8 binary digits. [1]

When adding to create a unique value:

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

Adding 128 hides «Upgrade» on armors

In logical form:

(HideEnchantments) | (HideAttributeModifiers << 1) | (HideUnbreakable << 2) | (HideCanDestroy << 3) | (HideCanPlaceOn << 4) | (HideOthers << 5) | (HideDyed << 6) | (HideUpgrade << 7)

A copyable example:

Allowed 1 amount of same NBT Tags.

Unknown amount of allowed same NBT Tags.

At least one

1: Copy of original

2: Copy of a copy

Can be hidden by using HideFlags:32

Note that for the book to properly display the text, a title and an author must also be provided, otherwise the book will display the message * Invalid book tag *

A copyable example:

The following table describes more details on Enchantments sub-tag.

Tagname Description Value Type Allowed Values Example
id The resource location 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. Short -32768 to 32767 4

The following table describes more details on display sub-tag.

Example command: /[[Commands/'»`uniq—nowiki-0000000f-qinu`»‘|'»`uniq—nowiki-0000000f-qinu`»‘]]

One can further modify the text with things like italics and boldness like so: /[[Commands/'»`uniq—nowiki-00000010-qinu`»‘|'»`uniq—nowiki-00000010-qinu`»‘]]

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:

0 is Small Ball,

1 is Large Ball,

2 is Star-shaped,

3 is Creeper-shaped,

Blocks [ ]

These tags are put on blocks as items.

Tagname Description Value Type Example
CanPlaceOn This tag is used when making adventure maps to determine which block(s) the player can place a block on. Also used on hoes to make them till dirt and on spawn eggs to place them. If the value is not a valid block or item it displays as » missingno «. An array of strings, each one of which is a command argument of type block_predicate. However, to use NBT tags, the NBT data of the block must be synchronized to the client (campfires and player heads are two of the blocks that do so). >»]>
BlockEntityTag This is used for tile entities, and stores their data for when they are placed down Differs based on the block, see Tutorials/Command NBT tags § Blocks 2 for details. Example: get a white shield by using a command: /give @p shield> >
BlockStateTag This tag is used for blocks, and stores the block state when they are placed down. A compound where each key is a block state key, and the value is the block state value to force place for this block. Differs based on the block, see Block states for details. >

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.

n/a All power Similar to direction, but determines constant acceleration. Example: gives the summoned entity a constant upward acceleration of 1.0. Entities are still affected by drag when power is nonzero and eventually reaches a terminal velocity. Affects only Dragon Fireballs, Fireballs, Small Fireballs, and Wither Skulls. n/a All ActiveEffects Sets the effects that apply to a mob after it is summoned. Type 999999 to apply its countdown to infinity. It should hide its numbers to *. Id, Duration, Amplifier, Ambient, ShowParticles All , . ]> rewardExp Controls villagers giving xp for trading, set to true or false. Normally, villagers can reward you experience orbs. True/False ( 0b for false or 1b for true) Passengers Sets which entities are riding on top of the base entity. Allows multiple entities to ride one base entity. Riding entities are still able to do all stuff they have coded. Like enemies shooting on each other etc. Do not use a recent mob (if it doesn’t exist in your old version Minecraft). all (not checked) id , . ]> ArmorItems Defines what items are being worn by the mob. Items go in slots Feet, Legs, Chest, Head, in that order. Item None >,>,>,>]> HandItems Defines what item is within the mainhand and offhand. First item is the mainhand, second is offhand. Item None >,>]> HandDropChances Determines how likely it is for an entity to drop held Items. The tag Count in the equipment tag must be 1 or greater for this to work. 2 separate float values, one for the main hand and one for the off-hand slot. 0.0-1.0 determines likelihood of dropping, but applies a random durability if it does. Anything greater than 1.0 makes it always drop with full durability. Since it is a float value, it must be phrased as «X.Y», with X and Y being values of your choice. ArmorDropChances Determines how likely it is for an entity to drop worn Items. The tag Count in the equipment tag must be 1 or greater for this to work. 4 separate float values, one for each slot. 0.0-1.0 determines likelihood of dropping, but applies a random durability if it does. Anything greater than 1.0 makes it always drop with full durability. Since it is a float value, it must be phrased as «X.Y», with X and Y being values of your choice. NoAI Makes mobs have no AI, resulting in mobs not moving on their own. However, they still react to other changes in the environment. For example, the Zombie can still burn in the sun. ( 0b for false or 1b for true) NoGravity Makes mobs unaffected by gravity. Mobs do not fall. Mobs cannot walk in the air. ( 0b for false or 1b for true) Silent Makes mobs silent. Does not work for certain sounds, see MC-64242 . ( 0b for false or 1b for true) Fire Determines how many ticks a mob is on fire. When Fire reaches one, the fire stops, and the mob no longer takes damage. When a mob is not on fire, this value is 1. (ranges from 0 to 32767) Invulnerable Makes mobs invulnerable to everything except the Void and players in Creative Mode. Mobs do not attack or run away from invulnerable mobs. ( 0b for false or 1b for true) Attributes Customizes the attributes of the entity. See Attribute for more details Name: see Attribute for a list. Base: the amount to apply. Modifiers: how much and how it should vary. Contains values Name, Amount, Operation, UUID. Name and Base ]> Health Number of hearts (for hearts above the default maximum you must change the base value of the ‘generic.max_health’ attribute). All Mobs Number in half hearts AngerTime, AngryAt A neutral mob becomes aggressive toward AngryAt for AngerTime ticks. Summoning neutral mobs Number in ticks, paired with a UUID CustomName Summons a mob with a name that appears above their head. All Mobs A JSON Text component or you can use

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.

Tag name Description Value type Syntax
Facing Determines the direction of the item frame Numerical, 0 — 5 (0 up; 1 down; 2 south; 3 north; 4 east; 5 west)
ItemRotation Determines the rotation of the item in the item frame Numerical, 0 — 7 (Clockwise)
Item Determines the item in the item frame A string >
Invisible Determines if the item frame is invisible 0b or 1b
Fixed Determines if the item frame is fixed 0b or 1b

Potion [ ]

These tags are used to customize potions

Tagname Description Value type Syntax
Potion Determines which type of potion be receive in / give minecraft:(potion effect)
CustomPotionEffects Customize the effect of potions Numerical ]>
CustomPotionColor Determines the Color of Potion Bottle (1.11+) Decimal color code

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.

Tagname Description Value type Syntax
HomePosX Determines the X coordinate of a turtle’s home beach. Numerical
HomePosY Determines the Y coordinate of a turtle’s home beach. Numerical
HomePosZ Determines the Z coordinate of a turtle’s home beach. Numerical
TravelPosX Determines the distance a turtle can lay eggs from its home coordinates, on the X axis. Numerical
TravelPosY Determines the distance a turtle can lay eggs from its home coordinates, on the Y axis. Numerical
TravelPosZ Determines the distance a turtle can lay eggs from its home coordinates, on the Z axis. Numerical
HasEgg Determines if the turtle has an egg to lay 0 – 0b – false
1 – 1b – true

Blocks [ ]

Tagname Description Value Type Syntax
Command Used with command blocks. Places command block with command. A string
auto Used with command blocks. Places command block with «Always Active» rather than «Needs Redstone». 0 — 0b — false
1 — 1b — true

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.

Мод NBT Tooltip

Мод NBT Tooltip — данный мод является небольшой утилитой для игры map dev/mod dev, и предназначен для того, чтобы помочь людям, работающим с nbt элементами.

Описание

Чтобы увидеть тег NBT элемента, просто активируйте расширенные всплывающие подсказки, нажав F3+H, тег появится внутри всплывающей подсказки. Более длинные теги будут отображаться в режиме автоматической прокрутки, скорость прокрутки можно контролировать с помощью SHIFT, чтобы приостановить прокрутку, и ALT, чтобы ускорить ее. Можно настроить скорость прокрутки по умолчанию и максимальное количество одновременно отображаемых строк тегов.

Чтобы увидеть Tile Entity NBT, щелкните правой кнопкой мыши со стрелкой на интересующем вас блоке. Появятся одно или два всплывающих окна, в зависимости от вашей конфигурации и того, в каком режиме (SP/MP/LAN) вы играете.

Одно окно будет содержать информацию на стороне сервера (только если вы играете в SP), другое будет отображать информацию на стороне клиента (как SP, так и MP). Какие окна отображаются, можно настроить.

Клиентский тег часто будет подмножеством информации, содержащейся внутри серверного тега, это связано с тем, как игра работает с синхронизацией тегов.

Окна отделены от окна игры и должны отображаться в фоновом режиме, не прерывая игру, и их можно закрыть без каких-либо последствий для игры. Только один набор (сервер + клиент) будет отображаться одновременно, чтобы предотвратить переполнение экрана всплывающими окнами: открытие нового просто заменит существующий.

Дополнительная информация

  • Этот мод работает только на стороне клиента. На серверах он просто деактивируется перед запуском.
  • Некоторые серверы могут считать этот мод читерским, уточните у администратора сервера, можно ли установить его на вашем клиенте.
  • Вы можете использовать этот мод с любым желаемым паком.

Установка:

  1. Скачивайте файл с сайта предложенного ниже
  2. Открываете папку с вашей игрой, то есть .Minecraft (Как её найти: жмёте на путь поиска в проводнике, введите %appdata% и открываете папку.minecraft)
  3. Открываете папку mods и скидываете туда скачанный файл, если нет данной папки тогда создайте её
  4. Потом открывайте лаунчер вашего Minecraft и выбираете версию с надписью Forge или ForgeOptifine, запускаете, и всё, мод установлен!

Пожалуйста, обратите внимание на несколько моментов:

  • Мы не вносим в файлы модификаций Minecraft никаких изменений, они полностью оригинальны, не содержат вирусов и программ-паразитов.
  • Для загрузки мода используются только официальные ссылки, предоставленные авторами модификации.
  • Некоторые ссылки ведут на страницу сайта разработчика, с которой можно скачать нужную вам версию.
  • Оставляйте в комментариях отзывы о моде — это поможет сделать лучше.

Скачать мод можно по этой ссылке: клик

Доступен для Майнкрафт 1.16.2

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *