WolfyScript / CustomCrafting

Spigot based plugin to create your own custom Recipes & Items. Designed to be easy to use with in-game GUI and tons of configuration possibilities.
https://modrinth.com/plugin/customcrafting
GNU General Public License v3.0
113 stars 36 forks source link

Compass Merge Adapter #217

Closed WolfyScript closed 1 year ago

WolfyScript commented 1 year ago

This adapter makes it possible to merge the location and track property of an ingredient compass to the result, and to override them with custom values.

The values are all managed via ValueProviders and BoolOperators making it possible to use values from PAPI, select values based on boolean conditions, etc.

{
  key : "customcrafting:compass",
  overrideLocation: true,
  location : {
    worldName : "world",
    x : 900,
    y : 79,
    z : -209
  },
  lodestoneTracked : false,
  overrideLodestoneTracked : true
}