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.
Custom Machinery 1.18.2-0.6.7
Additions :
- Add setEnergy, setItem, setFluid methods in Machine for Crafttweaker function requirement.
- Add item transform requirement, allow to consume and produce an item while keeping its nbt data.
- Add CT and KubeJS integration for item transform requirement.
Bugfix :
- Fix block requirement check amount change when using speed upgrades.
- Fix machine appearance reset to idle when machine is loaded.
Custom Machinery 1.18.2-0.6.6
Bugfix :
- Fluids are now input in priority in tanks that already contains the same fluid.
- Fix weird shadows on faces of models that are not full cubes, just make sure to set the machine render shape to something smaller than a full cube.
- Fix "Cannot invoke MapJS.toNBT because nbt is null" error when using some requirements with kubejs.
- Fix jei not showing some recipes
- Updated to the latest forge version, the mod now requires forge 40.1.67 or above.
Custom Machinery 1.18.2-0.6.5
Additions :
- Make "tool_type" appearance property a list. Use it to define multiple tools that can break the machine.
- Add "requires_tool" appearance property. Default : true, if set to false the machine will drop when broken with any tools.
Tools specified in the "tool_type" property will still be faster than other tools.
Note : "hand" is no more a valid tool type, instead you can set "requires_tool" to false for making the machine breakable by hand. - Add "interaction_sound" appearance property, allowing to mimic another bloc sounds when placing/breaking/etc.. the machine.
- Renamed "sound" appearance property to "ambient_sound" to avoid confusion with the new property. This property can now play sound when the machine is in any status instead of just "running".
- Add "break" property to durability requirement to toggle if the requirement can break items.
- Add "resetOnError" recipe property, set it to true to make the recipe reset when a requirement throw an error instead of setting the machine to error status.
- Remade machine upgrades, json syntax is the same but CT and KubeJS syntax changed and should be remade.
(Sorry, see the wiki for new syntax)
Bugfix :
- Fix jei "show recipe" is rendered at the position of the progress arrow in jei screen even if the arrow in machine gui is at a different position.
- Fix pipes are able to connect to sides that can't accept or send anything.
- Fix item output requirement not working with nbt.
Custom Machinery 1.18.2-0.6.4
Additions :
- Add I/O side config for item, fluid and energy components, machine maker can define default I/O mode for each side of each component in the machine json.
- Add 'config gui element', if added to a machine gui in the machine json, the player can click on it to display the I/O side config gui for the machine, and change the I/O mode for each side for each component of the machine.
- Add a few utility methods in MachineJS (Kubejs function requirement), Thanks BordListian for his PR.
- Add chance and delay properties for block, entity and effect requirements.
Bugfix :
- Fix jade displaying too many decimals in the recipe progress bar.
- Fix jade displaying a progress bar [0/0] when no recipe is processing.
- Fix ghost item feature in slot gui element can mess up other element position.
- Fix fluids and items in jei can't be in a slot/tank that don't have a component.