Custom Machinery 1.18.2-0.8.3
Additions :
- Add the machine item to the
itemfilters:match_nbt
item tag to make FTB Quest able to differentiate machines. - Add Reborn Core to the dependencies list for the fabric version.
- A few API changes to make the Create addon possible.
- Clicking on a fluid bar on the machine GUI while holding a fluid container item (buckets or any modded tank) will now transfer the fluid.
- Reworked the upgrade system, upgrades now have 3 operation modes :
- "addition" : final_value = base_value + upgrade_modifier * upgrade_amount
- "multiplication" : final_value = base_value * upgrade_modifier * upgrade_amount
- "exponential" : final_value = base_value * upgrade_modifier ^ upgrade_amount
- Note that what was before the "multiplication" operation is now the "exponential" operation, it was renamed to show better what it does, but if you used "multiplication" before in your upgrades they will not work the same after this update.
- Added methods in CT and KubeJS function requirement context to get/set the base speed of the recipe crafting process (default 1).
BugFix :
- Fix box and structure creator items resetting when shift clicking a block.
- Fix structure creator item inverting Z axis when used on machines that are facing East or West.
- Fix issue #91 (Item dupe with upgrades)
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.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.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.