Custom Machinery 1.21.1-0.10.46
Additions :
- Changing the inner working of block ingredients used in block and structure requirements.
- The syntax is the same as before and scripts/recipes should not be affected by this update.
- All support for Crafttweaker for block and structure requirements is now deleted.
- Block ingredients now support lists and can be reversed to accept any block but the specified one.
- Example:
["!#c:stones", "!diamond_block"]
will accept any block that is not in stone tag and not a diamond block.
- Added "order" property for block requirement which define if the blocks will be broken/placed from top to bottom or the opposite.
- Valid values are: "increasing" (default value, from bottom to top), "decreasing" (from top to bottom) and "random".
BugFix :
- Fix box creator not rendering selected blocks.
Custom Machinery 1.21.1-0.10.45
Additions :
- Added machine templates system.
- When a new machine is created through the in-game editor, a machine template can be selected.
- The newly created machine will copy all properties (appearance, components, gui...) of the template.
- New templates can be added like any machines but must be inside
machine/template/
folder. - Templates can be directly edited using
/cm edit_template
command (Only templates added by datapacks/kubejs data).
- Added back the machine creator item, it does exactly the same thing as running
/cm create
command.
BugFix :
- Fix configuration card item recipe not working.
- Fix a few visual bugs in the machine editor.
Custom Machinery 1.21.1-0.10.44
BugFix :
- Fix crash when opening machine editor.
Custom Machinery 1.21.1-0.10.43
Additions :
- Add dragging group of elements in gui editor.
- Add copy/paste buttons in gui editor.
- Add center horizontally/vertically and compact buttons in gui editor.
- Replace small buttons by side panel in gui editor.
- Components and elements are now sorted by alphabetical order when edited with the in-game gui.
- Add duplicate button in component edit gui.
Custom Machinery 1.21.1-0.10.42
Additions :
- Add 'minInput' and 'minOutput' properties for energy and fluid components.
- When specified these properties can block a transfer if the amount to transfer is below the specified value.
- These properties default to 0 (any input/output transfer amount are allowed).
BugFix :
- Fix fluid component auto input filling all internal tanks instead of only the one set to auto input.
Custom Machinery 1.21.1-0.10.41
BugFix :
- Fix delaying requirement not working.
Custom Machinery 1.21.1-0.10.40
Additions :
- Added a revert (Ctrl+z) button in gui editor.
- Added a few buttons to help align gui elements in gui editor.
BugFix :
- Fix new machine created in minecraft namespace instead of custommachinery.
Custom Machinery 1.21.1-0.10.39
Additions :
- Added "core" property for status gui element.
- If this property is set to 0 (default value) the element will show the overall status of the machine.
- If set to a higher value the element will show the status of the specified core only.
Custom Machinery 1.21.1-0.10.38
Additions :
- Improve KubeJS recipe logging in case of wrong usage of
.chance()
,.info()
or.delay()
.
BugFix :
- Fix box renderer showing incorrect box position.
- Fix recipes using "resetOnError" sometimes freeze indefinitely.
- Fix crash when a recipe currently processed by a machine is removed on /reload. #137
Custom Machinery 1.21.1-0.10.37
BugFix :
- Fix compatibility issue with 'Supplementaries' mod (Lumisene fluid break machine).
Custom Machinery 1.21.1-0.10.36
Additions :
- Add 'orientation' property for fluid gui element.
- Add u/v properties for gui elements textures.
Custom Machinery 1.21.1-0.10.35
BugFix :
- Fix recipe process ending while the machine is errored, sometime loosing outputs.
Custom Machinery 1.21.1-0.10.34
BugFix :
- Fix upgrades not being applied to input item and fluid requirements.
Custom Machinery 1.21.1-0.10.32
Additions :
- Add filter customization for item and fluid components in gui editor.
BugFix :
- Fix machine not remembering consumed inputs if the machine is unloaded during the recipe process.
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.30
BugFix :
- Fix condition requirements not resetting the recipe when 'resetOnError' is set.
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.