Custom Machinery 1.19.2-0.9.19
Bugfix :
- Fix function requirement always returning success.
Custom Machinery 1.19.2-0.9.18
Bugfix :
- Making an error in a CT/KJS function will no longer crash the game but show an error in the corresponding log instead.
Custom Machinery 1.19.2-0.9.17
Bugfix :
- Fix jei show recipes tooltip overlap with progress element custom tooltips.
Custom Machinery 1.19.2-0.9.16
Bugfix :
- Fix last inventory slot won't be filled when shift click in a machine slot.
Custom Machinery 1.19.2-0.9.15
Bugfix :
- Fix Jade not working on Fabric.
Custom Machinery 1.18.2-0.8.9
BugFix :
- Fix output requirements can't be used in craft recipes.
Custom Machinery 1.19.2-0.9.14
Bugfix :
- Fix output requirements can't be used in craft recipes.
Custom Machinery 1.19.2-0.9.13
Additions :
-
Any recipe can now completely change the machine gui elements.
- Either use
"gui": [...]
in recipe json or.gui([...])
in CT/KJS recipes to specify gui elements to be shown only when that specific recipe is processing. - When the recipe start/end processing the gui will immediately adapt without players having to reopen it first.
- For CT/KJS integration the gui elements must still be written in json syntax, like they would be in the machine json.
- Either use
-
Every gui elements now have an
"id"
property.- This allows for recipe specific gui elements to override machine gui elements.
- Those which already had it (like slot, fluid, button...) just keep it like before (no changes are required).
- For those which didn't have it the new
"id"
property is optional so no changes are required either. - The only breaking change is the
"id"
property of dump gui element which was renamed to"tanks"
to avoid confusion.
-
Added
"custommachinery:empty
gui element type, an element that render nothing but can be used to replace another gui element when a recipe is processing. -
Added
/custommachinery reload
(or/cm reload
) command, which reload only machine json files (not recipes or upgrades).
Bugfix :
- Fix machine owner not saved when the machine is unloaded.
Custom Machinery 1.19.2-0.9.12
Bugfix :
- Fix placing items in slots of the machine gui being a bit laggy.
- Fix machine gui not rendering dark background.
Custom Machinery 1.19.2-0.9.11
Additions :
- Added
.occlude()
property on KubeJS block builder to make the machine block full opaque. - Add "parent" property in custom machine json to make a machine inherit all properties of another machine.
The upgraded machine can also have some recipe modifiers attached to it that will be applied when processing recipes. - Add
ctx.success()
andctx.error("error")
methods for CT and JS function requirement context. The oldResult.success()
andResult.error("error")
methods still work but will be removed in the next MC version. - Allow adding items/blocks from other mods in catalysts.
- Added a "bar" gui element that can display a number value stored in the machine via CT/KJS scripts.
- Added Chinese translations, thanks to LingJiuQiSan.
- Added chunkload component to make the machine act as a chunkloader.
- Added chunkload requirement (Json, CT and JS) to make the machine act as a chunkloader only when a recipe is processing.
- Added utility methods to Machine object in CT/JS function requirement to enable/disable chunkloading.
Bugfix :
- Fix custommachinery.log not resetting before a reload.
- Fix shift-clicking on the structure requirement icon build the structure on a random machine rather than the nearest to the player.