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.