Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Удаление BlockEntityTag из MOB_SPAWNER #22

Open
Dymeth opened this issue Jun 4, 2020 · 0 comments
Open

Удаление BlockEntityTag из MOB_SPAWNER #22

Dymeth opened this issue Jun 4, 2020 · 0 comments

Comments

@Dymeth
Copy link

Dymeth commented Jun 4, 2020

Удаляется компонент BlockEntityTag из предметов со следующей конфигурацией:

{
  "id": "minecraft:mob_spawner",
  "Count": "1b",
  "tag": {
    "BlockEntityTag": {
      "SpawnData": {
        "id": "creeper"
      }
    }
  },
  "Damage": "0s"
}

Из-за этого спаунеры мобов теряют тип моба и при установке начинают создавать свиней.

Тестировалось на Paper version git-Paper-1618 (MC: 1.12.2) (Implementing API version 1.12.2-R0.1-SNAPSHOT)
Для тестирования можно использовать:
/minecraft:give @p minecraft:mob_spawner 1 0 {BlockEntityTag:{SpawnData:{id:"creeper"}}}

В качестве временного решения можно отключить в конфиге проверку компонента BlockEntityTag или выдать игрокам право itemfixer.bypass.nbt. Но оба варианта не особо оптимальны

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant