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

Itematic

A mod that adds data-driven items to the game, and much more!

599
36
Все версииItematic 0.3.0 Preview 3

Itematic 0.3.0 Preview 3

Beta3 мес. назад

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

A new year, a new preview! In this preview the item holder rules were split into their own data component with a minor change to the rules themselves.

Changes

Item Behaviour Components

minecraft:item_holder

  • Rules are now modifiable for indivial item stacks with the minecraft:item_holder_rules data component instead of being part of minecraft:bundle_contents.
  • All item holders now use the same default minecraft:bundle_contents data component again.

Data Components

  • Added the following data components:
    • minecraft:item_holder_rules

minecraft:bundle_contents

  • Reverted the component to its previous form by moving the rules to their own data component.

minecraft:item_holder_rules

  • Specified and used by the minecraft:item_holder behaviour component.
  • If removed, the item holder behaviour will no longer work.
  • Its value is a list of item holder rules.

Example:

[
  {
    "type": "minecraft:reject",
    "condition": {
      "items": "#minecraft:banned_bundle_items"
    }
  },
  {
    "type": "minecraft:occupancy_held_items_with_penalty",
    "condition": {
      "behavior": [
        "minecraft:item_holder"
      ]
    },
    "penalty": {
      "denominator": 16,
      "numerator": 1
    }
  },
  {
    "type": "minecraft:fraction",
    "condition": {
      "data_components": [
        "minecraft:bees"
      ]
    },
    "fraction": {
      "denominator": 1,
      "numerator": 1
    }
  }
]

Item Holder Rules

  • Renamed the minecraft:fraction_with_occupancy_held_items type to minecraft:occupancy_held_items_with_penalty.
    • The fraction field was also renamed to penalty to show the use of the field more.

So if you had this:

{
  "type": "minecraft:fraction_with_occupancy_held_items",
  "fraction": {
    "denominator": 16,
    "numerator": 1
  }
}

You now have to use this instead:

{
  "type": "minecraft:occupancy_held_items_with_penalty",
  "penalty": {
    "denominator": 16,
    "numerator": 1
  }
}

Fixes

  • Updating the item holder rules retains the old rules on item stacks that already have contents (#54)

Файлы

Itematic-0.3.0-preview.3.jar(2.35 MiB)
Основной
Скачать

Метаданные

Канал релиза

Beta

Номер версии

0.3.0-preview.3

Загрузчики

Fabric

Версии игры

1.20.5–1.20.6

Загрузок

21

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

3 мес. назад

Загрузил

ID версии

Главная