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.
Custom Machinery 1.19.2-0.9.10
Additions :
- Add "shape_collision" appearance property to customize collision shape of the machine independently of the render shape.
- Add "unique" property for fluid components.
Components with this property se to true won't accept fluids that already are in another tank of the machine.
Bugfix :
- Fix itemzoom render on top of the GUI instead of next to it.
- Fix config button texture not being resized when the width/height of the element is changed.
- Fix some bugs about experience component and element.
- Fix block tag ingredient can't take #tag syntax.
Custom Machinery 1.19.2-0.9.9
Additions :
- Added experience component, gui element and requirement
- The component can store player xp with configurable capacity, and can be set to give the stored xp to player when they take out items from specified slots (like vanilla furnace does).
- The gui element can be a button that allow the player to store/take 1, 10 or all levels to/from the machine (think EnderIO XP obelisk).
It can also display a bar showing the current amount of stored xp. - The requirement (available in Json, KubeJS and CraftTweaker as usual) can make a machine consume/produce a specified amount of xp points or levels.
- See wiki for more info about experience component, gui element and requirement.
- Thanks a lot to alec016 for making most of the work on that new feature.
- Added
"hold_time"
property for button gui element that define the time (in ticks) that the button will stay pressed before releasing (default 1 tick). - Fuel items will now prioritize fuel slots when shift clicked in the machine gui.
Custom Machinery 1.19.2-0.9.8
Bugfix :
- Fix button requirement press/release inverted when using KubeJS integration.
- Fix machine drop content of result and filter slots when broken.
Custom Machinery 1.19.2-0.9.7
Additions :
- Add filter item component variant, make slot able to take ghost items instead of real items.
That can be used to make a filter slot for example. - Add item filter requirement (Json, KubeJS and Crafttweaker) that allows checking if a filter slot is set to a specific item.
- Add 'Configuration card' item, a tool for allowing players to copy-paste the component config of a machine to another.
Thanks a lot to andriihorpenko for his work on that feature.
Bugfix :
- Fix issue 92 (again) Crash with ConcurrentModificationException.
- Fix setBlock command place dummy machines when used for placing machine blocks created with KubeJS.
- Fix auto-input voiding energy of the neighbor energy storage. (Thanks again andriihorpenko)
Custom Machinery 1.19.2-0.9.6
Additions :
- Render type can now be set in custom machine blocks created in KubeJS startup scripts.
- Three render types are supported : solid, cutout and translucent (default).
- Set the render type using (for example)
.renderType("solid")
on the block builder.
Bugfix :
- Fix machines always using translucent render type instead of the one specified in the model json file. (For Forge only as Fabric doesn't have render type in models feature)
Custom Machinery 1.19.2-0.9.5
Additions :
- The machine appearance can now be customized for each recipe separately.
- The machine will take the appearance specified in a recipe while this recipe is processing and will turn back to its default appearance when the process is finished or errored.
- A custom machine appearance can be defined in the recipe json as well as Crafttweaker and KubeJS scripts.
- See the wiki for more info.
Bugfix :
- Fix fuel item 1px offset in slot in jei.
Custom Machinery 1.19.2-0.9.4
Bugfix :
- Fix item component allow inserting a stack of non-stackable items if the slot was empty.
- Fix issue #105 by not relying on capability invalidation.
Custom Machinery 1.19.2-0.9.3
Additions :
- Add machine owner system, the owner of a machine is the entity that placed it.
- The owner of the machine can be checked and changed inside the CT/KJS function requirement.
- The structure requirement can now be used to place a structure in world.
- Add "locked" property on item component, allow for locking a slot, preventing players to place or take items from that slot.
- KubeJS and Crafttweaker implementations can check and change the locking of a slot.
- Allow CT & KJS to pause and resume the machine.
- Allow CT & KJS to switch the current machine to another.
- Add
.requireItemTag("tag")
method with default amount to 1 for CT and KJS recipes. - Add
start
andend
properties on progress gui element to specify which part of the progress bar this element represent.
Bugfix :
- Fix function requirement broken.
- Fix fluid and items output don't display in jei if their tank/slot is set to "both" mode.
- Fix items doesn't always render at the center of the slot in jei.
- Fix crash if texture element's "texture_hovered" property is not specified and the element is rendered in jei.
- Fix slot/tank/energy textures being 1px offset in jei.
- Fix machine can't be used in a structure requirement.
- Fix machine not appearing in search tab in creative inventory. Thanks Sleepwalkerx for that.
- Fix ambient sound not stopping when the machine stop working.
- Fix machines not dropping their inventories in creative.
- Fix box and structure creator outline rendering weirdly on fabric.
- Fix box creator item left click not working in survival mode.
- Fix JEI not respecting gui element priority.