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": truein 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.
Custom Machinery 1.21.1-0.10.28
Additions :
- A lot of performance optimizations.
BugFix :
- Fix upgrade tooltips missing translations when playing on dedicated server.
- Fix item requirement not accepting items with different data components when no data components are specified.
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.26
Additions :
- Make component config color configurable (blue by default).
- Make machine ambient sound configurable (volume, pitch, sources and more).
Custom Machinery 1.21.1-0.10.25
BugFix :
- Fix shift clicking upgrade items out of their slots doesn't remove the upgrade effects.
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 verifycommand 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()becausefunctionis 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.19
Additions :
- Add rolls count on loot table output tooltip on jei.
BugFix :
- Fix recipes with only inventory requirements that doesn't modify the machine inventory run once and stop.
Custom Machinery 1.21.1-0.10.18
Additions :
- Add
orientationproperty 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.
Custom Machinery 1.21.1-0.10.17
Additions :
- Small API changes to make PneumaticCraft addon possible.
BugFix :
- Fix crash when machine is removed by a machine component.
Custom Machinery 1.21.1-0.10.16
Additions :
- Add option to show background in gui editor.
- Remove Cloth config dependency in favor of NeoForge config.
- Removed
renderTypemethod in KubeJS block builder, now that the render type can be set in block models. - Machine now drops stored xp when broken.
- Add
keep_inventoryappearance property, default to false, if set to true the machine's inventory (items/fluids/energy...) will be stored inside the item and restored when placed again.
If set to false (default), items and xp will be dropped on ground and other contents will be voided (same as before). - Add I/O side config to redstone component.
BugFix :
- Fix popup dragging stops if the cursor goes outside the popup.
Custom Machinery 1.21.1-0.10.15
Additions :
- Update to latest KubeJS
- Function requirement was remade, as it is not possible anymore to put JS code directly in a recipe.
- To follow vanilla folder naming convention (now singular names) both data folders that cm uses changed:
- 'machines' now become 'machine'
- 'upgrades' now become 'upgrade'
BugFix :
- Fix I/O config not being applied in machine editor gui.
- Fix toggle button being pressed not starting the process.
- Fix texture gui element makes tooltips not render.
- Fix recipes in jei showing info icons row even if there isn't any infos to show.
- Fix ambient sound not looping properly (micro-pause before playing again).
Custom Machinery 1.19.2-0.9.22
Bugfix :
- Fix machines created by vanilla crafting/stonecutting gets dummy nbt.
- Fix recipes in jei showing info icons row even if there isn't any infos to show.
- Fix ambient sound not looping properly (micro-pause before playing again).
Custom Machinery 1.21.1-0.10.14
Additions :
- Update NeoForge and all dependencies.
BugFix :
- Fix some conflicts with KubeJS preventing custom block creation.

