
Itematic
A mod that adds data-driven items to the game, and much more!
Оцените первым
777
35
Список изменений
It's been a bit, but here's a new preview! This preview changes the way buckets are defined with some minor action changes.
For a few more details regarding the split and future you can look at the roadmap to 1.21!
Changes
Item Behaviour Components
minecraft:bucket
- Unified block and fluid placement for buckets.
- The
fluid,blockandtransforms_intofields have been replaced with world modifications in the newmodificationfield.- This means that the previously hardcoded behaviour of the
minecraft:emptyfluid draining a fluid instead has been removed.
- This means that the previously hardcoded behaviour of the
| Previously set field | World modification |
|---|---|
Fluid minecraft:empty | minecraft:drain_fluid |
| Any other fluid | minecraft:place_fluid with the specified fluid |
| Any block | minecraft:place_block with the specified block |
- Moved the placed entity up a level by only specifying the entity type.
- This means that the optional
require_other_successful_placementfield has been removed and now always requires a successful placement. - The field itself is still optional.
- This means that the optional
So if you had this:
{
"minecraft:bucket": {
"emptying_sound_event": "minecraft:item.bucket.empty_fish",
"entity": {
"entity": "minecraft:pufferfish",
"require_other_successful_placement": true
},
"fluid": "minecraft:water",
"transforms_into": "minecraft:bucket"
}
}
You now have to use this instead:
{
"minecraft:bucket": {
"entity": "minecraft:pufferfish",
"modification": {
"type": "minecraft:place_fluid",
"fluid": "minecraft:water",
"place_sound": "minecraft:item.bucket.empty_fish",
"transforms_into": "minecraft:bucket"
}
}
}
Actions
minecraft:place_block
- Removed the
decrement_countfield.- This should be replaced by a sequence with a
minecraft:decrement_itemaction.
- This should be replaced by a sequence with a
So if you had this:
{
"type": "minecraft:place_block",
"block": "minecraft:fire",
"decrement_count": true,
"position": "interacted"
}
You now have to use this instead:
{
"type": "minecraft:sequence",
"handler": "minecraft:passing",
"entries": [
{
"type": "minecraft:place_block",
"block": "minecraft:fire",
"position": "interacted"
},
{
"type": "minecraft:decrement_item",
"amount": 1
}
]
}
- Added an optional
place_soundfield.- When specified, this sound will be played instead of the normal block place sound.
World Modifications
Can modify the world by adding or removing something from it.
minecraft:drain_fluid
- Drains a fluid from the world.
- Has no additional fields.
- Leaves an item stack specified by the drained fluid.
minecraft:place_fluid
- Places a fluid in the world.
- Fields:
fluid: A fluid. The fluid to place.place_sound: A sound event. The sound to play when placed.transforms_into: An item. The item to leave when successfully placed.
- Leaves the item stack specified in the
transforms_intofield.
minecraft:place_block
- Places a block in the world.
- Fields:
block: A block picker. The block to place.place_sound: A sound event. The sound to play when placed.transforms_into: An item. The item to leave when successfully placed.
- Leaves the item stack specified in the
transforms_intofield.
Fixes
- Exchanging item stacks now works correctly again by dropping the exchanged item stack instead of the current item stack.
Файлы
Itematic-0.6.0-preview.2+1.21.5.jar(2.42 MiB)
ОсновнойМетаданные
Канал релиза
Beta
Номер версии
0.6.0-preview.2+1.21.5
Загрузчики
Fabric
Версии игры
1.21.5
Загрузок
10
Дата публикации
26.05.2026
