Back to mods
NBT2Summon project artwork

CurseForge · Minecraft mod

NBT2Summon

Copy mob NBT into ready-to-use Minecraft commands. Save entities, villager trades, or mobs with their equipment into .txt or .mcfunctions files

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which NBT2Summon release matches 26.1?

Updated last month
Best match for your filters nbt2summon-2.0-26.1.x.jar
Game version 26.1, 26.1.1, 26.1.2
Loader Fabric

nbt2summon-2.0-26.1.x.jar targets 26.1, 26.1.1, 26.1.2 with Fabric. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.

Where it goes

Is NBT2Summon required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does nbt2summon-2.0-26.1.x.jar need?

nbt2summon-2.0-26.1.x.jar on 26.1. Every mod below is checked against that same setup.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add NBT2Summon without breaking your instance.

Built for nbt2summon-2.0-26.1.x.jar on 26.1. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use nbt2summon-2.0-26.1.x.jar. It targets 26.1, 26.1.1, 26.1.2 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside nbt2summon-2.0-26.1.x.jar. It opens that exact file at the source.

About this project

What does NBT2Summon add?

NBT2Summon

Look at a mob, player, NPC or block, run a command, and get ready-to-use /summon, /setblock, /give or /npc commands saved to a .txt or .mcfunction file. You can then paste them back into any world with one click.

You only install it on the client, and it works in singleplayer and on servers. If you have /data permission (OP), you get the full NBT. Without it, the mod uses everything the client can see.

Modes

Command What you get
/nbt2summon Basic: equipment (all components), villager trades, name, and the NoAI / PersistenceRequired / Silent / Invulnerable flags, but only if they are on
/nbt2summon extended Everything about the mob (attributes, effects, rotation, tags, custom data, trades, animal inventory), with internal data stripped out
/nbt2summon trade A villager or trader with protective flags and level 99. Supports AntiVillagerLag
/nbt2summon mob_chest Chests with the items of the mob and every passenger, a spawn egg for each entity in the stack, and a command block that summons the whole stack. Extra chests go in a row (~ ~ ~, ~1 ~ ~, …)
/nbt2summon give A /give command for every item of the mob, its passengers or the player
/nbt2summon egg A spawn egg with the full NBT. For a stack, you also get a command block, because vanilla eggs don't spawn passengers
/nbt2summon spawner A spawner that spawns this mob (passengers included), with every vanilla spawner setting
/nbt2summon citizens /npc commands for the Citizens plugin: name, type, skin, equipment, holograms, glowing
/nbt2summon block The block you look at, with all its NBT: chests, signs, lecterns, spawners…
/nbt2summon area <radius> Every entity within 64 blocks, positioned relative to you
/nbt2summon paste <file> Runs a saved file, one command every 2 ticks so the server doesn't kick you for spam. Needs cheats or OP
/nbt2summon history [count] Recent files, with Open and Paste buttons
/nbt2summon gui or the N key A window with every mode, flag and setting

Passenger stacks

  • Look at the bottom mob to save the whole stack.
  • Look at a mob that's riding something to save only that mob.
  • Add +passengers to also save everything stacked on top of it, at any depth.

Players and NPCs

In basic, extended, egg and spawner modes, a player turns into a mannequin (minecraft:mannequin) that keeps their skin, equipment and name. This also works for Citizens NPCs, both player-type and MANNEQUIN-type. The mod looks for the skin in the NPC's profile first, then in the player list.

Citizens mode writes /npc create …, /npc skin -t … and /npc setequipment <slot> hand for each item, plus holograms. The mod spots Citizens NPCs by their version 2 UUID. ⚠️ While these commands run, the item in your main hand is replaced.

Spawner settings

Add any of these after the command, or fill in the fields in the window (they appear in spawner mode):

delay:20 mindelay:200 maxdelay:800 count:4 maxnearby:6 range:16 spawnrange:4 blocklight:0-15 skylight:0-15

Anything you leave out uses the vanilla default.

Without OP

The mod remembers the contents of everything you open:

  • chests (including double chests), barrels, shulker boxes, furnaces and hoppers;
  • your ender chest;
  • chest minecarts and chest boats;
  • villager trades and horse inventories;
  • player or NPC inventory windows (/invsee, /npc inventory), as long as you look at that player or NPC while opening them.

Another player's full inventory isn't sent to the client, so without such a window you only get their visible equipment.

Flags

You can use flags with every mode. +flag adds or enables, -flag removes or disables:

noai silent invulnerable persistent glowing nogravity namevisible onground name equipment trades villager effects attributes health tags rotation passengers inventory owner plugins

Other options: format:txt|mcfunction|both, pos:rel|abs, +copy.

Example: /nbt2summon extended +noai +glowing -trades format:mcfunction pos:abs

Files are saved to .minecraft/nbt2summon/.


Наведитесь на моба, игрока, NPC или блок и введите команду. Мод сохранит готовые команды /summon, /setblock, /give или /npc в файл .txt или .mcfunction. Потом их можно вставить в любой мир одной кнопкой.

Мод ставится только на клиент и работает в одиночной игре и на серверах. С правом на /data (OP) вы получаете полный NBT. Без него мод собирает всё, что видит клиент.

Режимы

Команда Что сохраняется
/nbt2summon Базовый: экипировка (со всеми компонентами), сделки жителя, имя и флаги NoAI / PersistenceRequired / Silent / Invulnerable — только если они включены
/nbt2summon extended Вся информация о мобе (атрибуты, эффекты, поворот, теги, кастомные данные, сделки, инвентарь животного) без служебного мусора
/nbt2summon trade Житель или торговец с защитными флагами и уровнем 99. Поддерживается AntiVillagerLag
/nbt2summon mob_chest Сундуки с вещами моба и всех пассажиров, яйцом на каждую сущность башни и командным блоком, который призывает всю башню. Лишние сундуки ставятся в ряд (~ ~ ~, ~1 ~ ~, …)
/nbt2summon give /give на каждый предмет моба, пассажиров или игрока
/nbt2summon egg Яйцо призыва с полным NBT. Для башни добавляется ещё и командный блок, потому что ванильные яйца не призывают пассажиров
/nbt2summon spawner Спавнер, который призывает этого моба вместе с пассажирами, со всеми ванильными настройками спавнера
/nbt2summon citizens Команды /npc для плагина Citizens: имя, тип, скин, экипировка, голограммы, свечение
/nbt2summon block Блок под прицелом со всем NBT: сундуки, таблички, кафедры, спавнеры…
/nbt2summon area <радиус> Все сущности вокруг в радиусе до 64 блоков, с координатами относительно вас
/nbt2summon paste <файл> Выполняет сохранённый файл по одной команде раз в 2 тика, чтобы сервер не кикнул за спам. Нужны читы или OP
/nbt2summon history [кол-во] Последние файлы с кнопками Открыть и Вставить
/nbt2summon gui или клавиша N Окно со всеми режимами, флагами и настройками

Башни пассажиров

  • Наведитесь на нижнего моба — сохранится вся башня.
  • Наведитесь на моба, который на ком-то сидит — сохранится только он.
  • Добавьте +passengers — сохранятся и все, кто сидит выше, на любой глубине.

Игроки и NPC

В режимах basic, extended, egg и spawner игрок превращается в манекен (minecraft:mannequin) со своим скином, экипировкой и именем. Это работает и для NPC Citizens — и для типа игрока, и для типа MANNEQUIN. Скин мод ищет сначала в профиле NPC, а потом в списке игроков.

Режим citizens записывает /npc create …, /npc skin -t … и /npc setequipment <слот> hand для каждого предмета, а также голограммы. NPC Citizens мод узнаёт по UUID версии 2. ⚠️ Пока выполняются эти команды, предмет в вашей главной руке заменяется.

Настройки спавнера

Допишите после команды любые из этих параметров или заполните поля в окне (они появляются в режиме спавнера):

delay:20 mindelay:200 maxdelay:800 count:4 maxnearby:6 range:16 spawnrange:4 blocklight:0-15 skylight:0-15

Всё, что не задано, берётся по умолчанию, как в ванилле.

Без прав OP

Мод запоминает содержимое всего, что вы открываете:

  • сундуки (в том числе двойные), бочки, шалкеры, печи, воронки;
  • ваш эндер-сундук;
  • вагонетки и лодки с сундуком;
  • сделки жителей и инвентари лошадей;
  • окна инвентаря игрока или NPC (/invsee, /npc inventory) — если открывать их, глядя на этого игрока или NPC.

Полный инвентарь другого игрока на клиент не приходит, поэтому без такого окна сохраняется только видимая экипировка.

Флаги

Флаги работают в любом режиме. +флаг добавляет или включает, -флаг убирает или выключает:

noai silent invulnerable persistent glowing nogravity namevisible onground name equipment trades villager effects attributes health tags rotation passengers inventory owner plugins

Другие опции: format:txt|mcfunction|both, pos:rel|abs, +copy.

Пример: /nbt2summon extended +noai +glowing -trades format:mcfunction pos:abs

Файлы сохраняются в .minecraft/nbt2summon/.

Project description from CurseForge.

Pick your setup

NBT2Summon by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

10 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

NBT2Summon versions and loaders

1 of 7 releases match
Clear filters

Looking for an older file? The official CurseForge project page is in Resources.