Custom Machinery 1.21.1-0.10.31
Additions :
- Add option to make the item requirement consume input items at the end of the process instead of the start.
- In json recipe this is done by adding
"consume_on_end": true
in the item requirement. - In KubeJS recipe a new method was added :
.requireItemOnEnd(ingredient)
to keep backward compatibility with the existing.requireItem(ingredient)
method. - This can be combined with the 'reset on error' feature to make recipe behave like in vanilla (and some mods) machines : cancel the craft if items are removed from the input slots.
- In json recipe this is done by adding
Custom Machinery 1.21.1-0.10.29
Additions :
- Add green check in structure requirement tooltip, for displaying which blocks the player already have in its inventory.
- Add 'machine.getComponentConfig()' method to get the IO config of any components of the machine from the KubeJS function requirement.
BugFix :
- Fix item requirement output ignoring nbt.
Custom Machinery 1.21.1-0.10.27
Additions :
- Machine can be given a custom namespace in the machine creation gui instead of always 'custommachinery' namespace.
BugFix :
- Fix dupe bug when clicking with an empty bucket on a fluid gui element.
- Fix I/O config being ignored in the component editor gui for every item component variants.
- Fix blockstate notation
namespace:id[property=value]
not working for machine block appearance.
Custom Machinery 1.21.1-0.10.24
BugFix :
- Fix machines without gui preventing placing blocks when right-clicked with items.
- Fix machines can be replaced by fluids when right-clicked with a tank.
- Fix rotating machines that have KubeJS blocks can stop processing recipe.
- Fix Forgified Fabric API mixin conflict, making it impossible to move items in the machine inventory, including player inventory when the machine gui is opened.
Custom Machinery 1.21.1-0.10.23
Additions :
- Added
/cm verify
command that will check every loaded custom machines, upgrades and recipes.
BugFix :
- Fix tool type/level not working correctly. Now universal tools such as mek atomic disassembler should work to break machines.
- Item and durability requirements can now use either 'item' or 'ingredient' as property name. Issue #125
- Fix item filter requirement not appearing in jei.
- Fix durability requirement sometimes accepting any item with durability. Issue #127
Custom Machinery 1.21.1-0.10.22
BugFix :
- Fix machines stuck paused if a /reload is performed while paused.
- Fix durability requirement crashing the game when erroring.
- Fix fuel items not giving their craft remainder when consumed (like lava bucket not giving empty bucket).
- Fix machine blocks created by kubejs lose inventory when rotated and when broken even if 'keep inventory' property is on.
- Fix default modifier tooltip not showing.
Custom Machinery 1.21.1-0.10.21
Additions :
- Added new "split" gui element. It's a toggle button that, when pressed, will split and sort items present in the machine's input slots.
- It's similar to Mekanism auto-sort button.
- Like any other gui element it's textures can be customized (it has 4 textures -> base, hovered, toggled and toggled_hovered)
- By default, the button split any normal input slots, but it can be configured to only sort a specified list of slots.
- Several split gui elements can be added to split several groups of slots.
- Added machine gui editor support
- Full info on the wiki
Custom Machinery 1.21.1-0.10.20
Additions :
- Improve editor gui appearance tab.
- Click on machine id in editor base info tab to copy to clipboard.
- Add tooltip editor tab.
BugFix :
- Renamed
CustomMachineryEvents.function()
KubeJS event toCustomMachineryEvents.recipeFunction()
becausefunction
is a reserved JS keyword or something like that. - Prevent creation of several single components in editor.
- Fix ingredients with item data components with registries (like enchantment) not working in KubeJS recipes.
Custom Machinery 1.21.1-0.10.18
Additions :
- Add
orientation
property for energy and fuel gui elements.
BugFix :
- Fix saving machine edited with gui not working on linux.
- Add missing
.texture()
methods with default arguments in.info()
KubeJS recipe method. - Fix durability requirement doesn't work when the item is damaged.
- Fix chance not showing in loot table output jei slot.