GM4_Datapacks icon indicating copy to clipboard operation
GM4_Datapacks copied to clipboard

CC Shifting

Open BPR02 opened this issue 2 years ago • 2 comments

This PR allows custom crafting recipes to be inputted in any part of the grid. Before the recipe checks are performed, the items are virtually shifted to the top-left in storage. This is a breaking change and all modules have been updated to follow the new recipe format which assumes top-left alignment.

This PR also updates a few recipes:

  • ender hopper minecarts, liquid minecarts, and tunnel bores are now shapeless
  • the horse armor recipe works when mirrored

Additionally, this PR adds an output caching system which stores the contents of the dropper after a recipe succeeds. Once this happens, the crafter will not attempt to check recipes until the contents of the dropper changes. This is to prevent recursive recipes from happening, especially with shapeless recipes.

BPR02 avatar Aug 23 '22 12:08 BPR02

I've tested this and it works. Another tester is appreciated

BPR02 avatar Aug 23 '22 20:08 BPR02

Tested this in-game, the PR does not yet introduce this behavior for auto-crafters.

Bloo-dev avatar Aug 29 '22 19:08 Bloo-dev

During the review I noticed that thus PR deletes the files recipe_check.json and recipe_check.mcfunction from teleportation anchors, is this on purpose?

They were extra files from a refactor; figured I'd remove it in a single PR

BPR02 avatar Sep 15 '22 14:09 BPR02