Custom Machinery 1.18.2-0.8.2
Additions :
- Add "hidden" recipe boolean property, default to false, if set to true the recipe won't show in JEI.
- Add
.hide()
method in CT and KubeJS recipes, if called the recipe won't show in JEI. - Clicking the progress arrow will now open jei recipe categories where the machine can be used as catalyst if the machine's category is hidden or doesn't contain any recipes.
- Machine property "catalyst" can now contain the machine's own ID, and catalysts in jei will be ordered the same as this list.
Custom Machinery 1.18.2-0.8.1
Additions :
- Energy units (default "FE" on forge and "E" on fabric) are now configurable in lang files.
- Add "highlight" property for fluid and energy gui elements to disable slot highlighting on mouse hover.
Bugfix :
- Fix fabric version crashing on startup.
Custom Machinery 1.18.2-0.8.0
Additions :
- Complete overhaul of the machine json parsing code, allowing for more flexibility.
The syntax is exactly the same, so you should not need to change anything in your machine json.
This new system allow some things that were previously considered errors, including :- Both
"true"
andtrue
can be used for boolean properties. - Same for numbers, both
"1"
and1
are allowed. - Properties names are now case-insensitive, and both
'_'
and' '
characters are ignored.
Example, for a property named"auto_input"
the following names are allowed : "autoinput", "auto input", "AuToInPuT", "autoi_nput"...
- Both
- A new property named
"cooldown"
has been added in the machine processor json (see wiki) to customize the time between 2 recipe checks when the machine is idle.
A lower number will make the machine choose a recipe quicker but may cause lag. Default is 20 ticks (1 second). - Fluid and energy slots are now highlighted when hovered in the machine gui.
- Dump gui element button is now able to dump energy and items as well as fluids. The type of component to dump can be specified using
"component"
property of the dump gui element (fluid by default).
Bugfix :
- Fix when an element in a list has an error the whole list is ignored.
Example if any gui element has an error all gui elements are ignored.
Now only the erroring element will be ignored, an error will be logged and the remaining elements will be parsed correctly. - Fix custom item model not working.
- Fix energy gui element rendering red rectangle instead of filled texture in jei.
- Fix item component filter being ignored when placing the item in the slot from the machine gui.
- Fix dump gui element not working.
Custom Machinery 1.18.2-0.7.6
Additions :
- Add a way to store custom data in the machine through KubeJS or Crafttweaker (See wiki at Function requirement -> Machine -> data).
Bugfix :
- Fix recipe processing only once if the machine inventory didn't change since last check.
- Fix I/O config popup can't be dragged and doesn't update tooltips when clicking on the buttons.
Custom Machinery 1.18.2-0.7.5
Additions :
- Make machine shape rotate depending on the machine facing.
Bugfix :
- Fix MachineJS.removeItemFromSlot method returning the items in the slot instead of the removed items.
- Fix item component capacity ignored by shift click in machine gui.
- Fix machine recipe progress time reset when exiting the game/unloading chunk.
- Fix weird shadows on machine (again), smooth lightning now works properly but only if the forge experimental light pipeline is enabled.
Custom Machinery 1.18.2-0.7.4
Additions :
- Add config for debug logging level.
- Syntax errors in machine and upgrade json are now logged in custommachinery.log
Bugfix :
- Fix structure requirement not working for blocks with a "facing" property.
- Fix fluids not working with JEI 9.
Custom Machinery 1.18.2-0.7.3
Finalize API for making addons.
Custom Machinery 1.18.2-0.7.2
Additions :
- Update to jei 10 as it's now marked as BETA and not ALPHA.
- Position, Redstone and Light requirements now use "Range" syntax, old "comparator" syntax won't work anymore and need to be changed (see the wiki).
- Improved KubeJS integration error handling, recipe errors will now be displayed in chat when using "/kubejs errors" command.
- Make custom model folders configurable, default to "models/machine" and "models/machines".
- Added "fluid" item component variant, can be used to make a slot able to fill/drain the machine internal fluid tanks from/to the item placed in that slot.
- Added "energy" item component variant, can be used to make a slot able to insert/extract the machine internal energy buffer from/to the item placed in that slot.
Bugfix :
- Fix "hardness" appearance property that can't have a value of -1 (unbreakable).
- Fix texts in mod config gui.
- Fix placed machine components not updated when using /reload after changing the json.
- Fix machine model not working with sodium (Fabric). Note that Indium is needed to use sodium and CM without issues.
- Fix machine block and inventory not dropping when broken by player on fabric side.
Custom Machinery 1.18.2-0.7.1
Additions :
- Added craft recipes, this is a different recipe type ("custom_craft" instead of "custom_machine").
- Craft recipes can be used to make the machine behave like a crafting table, the output item will appear in the result slot if all requirements check passed and the whole recipe will be instantly processed when the output item is taken by a player.
- Added KubeJS integration for craft recipes.
- Added CraftTweaker integration for craft recipes.
- See wiki for more info.
Bugfix :
- Fix item component filter being ignored.
- Fix some packets causing a crash on forge.
Custom Machinery 1.18.2-0.7.0
Port to Architectury :
- Architectury is a modding tool that let modders write mods for both Forge and Fabric launchers at the same time.
- From now on Custom Machinery will release two files for each update, one for Forge and one for Fabric.
- The two versions are pretty much identical feature and syntax wise, the actual wiki can be used by both Forge and Fabric users.
- This version may and will contain tons of bugs, if you have any issues using CM report them to me on Discord or GitHub.
Additions :
- Add auto input and output for Item, Fluid and Energy requirements, this behaviour is disabled by default. I can be enabled in the machine json (see wiki) or in the machine gui using the "config" button (if present in the machine gui elements).
- Add the ability do disable side config for a specific component when using the config gui.
- Changed the syntax of Time requirement, if you use it (in json, CT or KJS) you have to switch to the new syntax, or it won't work. The new syntax (using ranges) is more powerful and allow you to easily choose exactly at what time the recipe should run.
- Upgrade items will now prioritize going into upgrade slots instead of normal slots when shift clicked.
- "item" property in slot gui element is now named "ghost" and a few properties to tweak the color, transparency and behavior of the ghost item were added.
Bugfix :
- Fix error in durability requirement that prevent players from connecting to server.
- Fix a crash when using building gadget copy-paste gadget on a CM machine.