▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/CobbleBetterNPC
CobbleBetterNPC

CobbleBetterNPC

Side-mod for Cobblemon facilitate the creation of NPCs

1.2K
4
Все версииCobbleBetterNPC 1.0.4

CobbleBetterNPC 1.0.4

Release1 мес. назад

Список изменений

Changelog — CobbleBetterNPC 1.0.4

General Changes

  • The built-in UI editor has been removed. This enables greater customization freedom through JSON files, eliminating restrictions previously imposed by the visual interface.

Commands

  • /cbn reload now works correctly: it reloads presets, dialogues, and NPC classes, and automatically respawns all registered NPCs while preserving their UUID, position, and skin (if previously assigned).

  • New command:
    /cbn set skin player <name>
    Applies and persists the skin of a player (by username) to the NPC currently being looked at by the executor.

  • The /cbn editor command has been removed.

JSON File Format

NPC Files (config/CobbleBetterNPC/NPC/*.json)

  • Required field:
    "id" must be present and globally unique. Example:
    "id": "cobblebetternpc:command"
    If missing or duplicated, the NPC will not load.

  • resourceIdentifier is required for custom skins:
    Must be one of the following to ensure proper skin and model compatibility:

    • "resourceIdentifier": "cobblemon:standard"
    • "resourceIdentifier": "cobblemon:pikachu"
      Other values may cause model or skin loading failures.
  • Optional — Presets:

    "presets": [
      "cobblebetternpc:looks_around"
    ]
    
  • Optional — Maximum distance from spawn:

    "maxDistanceFromSpawn": 20
    

    If the NPC moves farther than this distance (in blocks), it is removed and respawned at its original spawn position. Default value: 30.0.

  • Default values (no need to include unless overriding):

    "isMovable": false,
    "canDespawn": false,
    "isInvulnerable": true,
    "isLeashable": false,
    "allowProjectileHits": false,
    "hideNameTag": false
    

Dialogue Files (config/CobbleBetterNPC/Dialogues/*.json)

  • The faces block has been removed:
    It is no longer required or processed. Obsolete example:
    "faces": {
      "npc": "cobblemon:red_02",
      "player": "player.face()"
    }
    
    To apply a specific player’s skin to an NPC, use the command:
    /cbn set skin player <player_name>.

Файлы

CobbleBetterNPC-1.7.1-1.21.1-fabric-1.0.4.jar(67.07 KiB)
Основной
Скачать

Метаданные

Канал релиза

Release

Номер версии

1.0.4

Загрузчики

Fabric

Версии игры

1.21.1

Загрузок

75

Дата публикации

1 мес. назад

Загрузил

ID версии

Главная