-
Notifications
You must be signed in to change notification settings - Fork 15
Lens Frame Lenses
Max M edited this page Jul 23, 2021
·
1 revision
Valid lenses for the lens frame are defined by JSON files, and can be added/changed/removed by data packs.
Format (anything preceded by // is a comment that should not be in a real JSON):
{
"type": "crossroads:beam_lens",
"active": <boolean> //Optional, defaults to true. If false, disables this recipe
"input": <item ingredient>,//Ingredient for the lens item
"transmute_result": {//Optional, used for lenses that can be crafted into another item by a beam
"item": <string item ID>//Registry name of the created item
},
"transmute_alignment": <string>,//Required if transmute_result is specified, optional otherwise. Case insensitive alignment name for the beam alignment that turns the lens into the transmute result
"energy": <float>,//Optional, Multiplier for incoming energy. Suggested to use a value in [0, 1]. Values >1 will dupe, values <0 act as 0
"potential": <float>,//Optional, Multiplier for incoming potential. Suggested to use a value in [0, 1]. Values >1 will dupe, values <0 act as 0
"stability": <float>,//Optional, Multiplier for incoming stability. Suggested to use a value in [0, 1]. Values >1 will dupe, values <0 act as 0
"void": <float>,//Optional, Multiplier for incoming void. Suggested to use a value in [0, 1]. Values >1 will dupe, values <0 act as 0
"void_convert": <float>,//Optional, Portion of incoming beam converted to void. Suggested to use a value in [0, 1]. Values >1 will increase power, values <0 act as 0. Non-converted beam power is not deleted. Applied after the base multiplication from the other modifiers.
}