-
Notifications
You must be signed in to change notification settings - Fork 33
Merge Adapter | Book Meta
Key: customcrafting:book
Version: v4.16.5+
-
copyPages
:Required option to copy pages from the target to the result.
default:false
-
replacePages
:Replaces the pages of the result item when enabled; otherwise appends it to the pages of the result.
default:false
-
insertAtPage
:Specifies where to insert the target pages into the result pages.
default:after last page
-
pages
:Specifies the page data that should be included. Either by index or value.
default:[]
-
value
:Checks if the value is in the targets' page and adds it.
default:null
-
index
:Adds the page at the specified index and adds it.
default:null
-
condition
:A custom boolean operation to check if the value should be included.
default:true
-
-
extraPages
:Additional Pages that are always added to the result.
default:[]
-
addExtraPagesFirst
:When enabled, adds the extra lines before copying the pages; otherwise afterwards.
default:false
-
copyTitle
:Required to copy the title of the target to the result.
default:false
-
replaceTitle
:Replaces the title of the result. Otherwise, appends the target title it to the result title.
default:false
-
titlePrefix
:Prefix to be added to the target title.
default:""
-
titleSuffix
:Suffix to be added to the target title.
default:""
-
copyAuthor
:Required to copy the author of the target to the result.
default:false
-
replaceAuthor
:Replaces the author of the result. Otherwise, appends the target author to the result title.
default:false
-
authorPrefix
:Prefix to be added to the target author.
default:""
-
authorSuffix
:Suffix to be added to the target author.
default:""
-
copyGeneration
:Required to copy the generation type of the target to the result.
default:false
-
changeGenerationTo
:Changes the result generation type to the one specified. (Only when
copyGeneration
is set tofalse
!)
default:null
{
key: "customcrafting:book",
copyPages: true,
pages: [
{
value: "<grey>The page contents</grey>"
}
]
}
{
key: "customcrafting:book",
copyPages: true,
pages: [
{
index: 0 // Note: if the index is bigger/smaller than the amount of pages, then it wraps around.
// Tip: negative indexes start from the end of the page list.
}
]
}
{
key: "customcrafting:book",
copyPages: true,
lines: [
{ } // Condition is true by default, and matches each page
]
}
{
key: "customcrafting:book",
copyPages: true,
insertAtPage: 0,
lines: [
{
index: 0
},
{
index: -1
}
]
}
| Home
- Editions
- Installation
- Performance
- Terminology
-
Save & Register location
-
Result
-
Ingredients
-
Recipe Group
-
Hide Recipe
-
Priority
-
Ingredient Options
- Tags
- Replace with Remains
- Allow Empty Ingredient
-
Result Options
-
Tags
-
Target
- Damage
- Display Name
- Display Lore (v4.16.4+)
- Enchantments
- Echanted Book
- Book Meta (v4.16.5+)
- Banner Patterns (v4.16.5+)
- Firework Rocket
- PlaceholderAPI
- NBT
-
| Updating
- From 1.6.5.x
- From 1.6.4.0
- From 1.6.3.0 or older
- Custom Recipe Book
- Vanilla Recipe Book