Skip to content

Custom Achievements

tterrag1098 edited this page Feb 11, 2015 · 1 revision

CustomThings also allows you to add achievements. Achievements in minecraft are a relatively simple system. Each achievement belongs to a page, has a place (x and y coords) on this page, and can have a parent achievement that is required before the given achievement can be unlocked.

Apart from this CustomThings allows you to define what "source" an achievement has, this defines how it is unlocked. Currently the options are crafting, item_pickup, entity_kill, and block_break.

You must define a source, and a "requirement", which is the object (different for each source) that is required to unlock the achievement (ex. an ItemStack for crafting).

Value Type Description Default
x Integer The achievement's horizontal position on the page. 0,0 is the center of the page, not the top left. 0
y Integer Same as above, but for vertical position. 0
page String The page to add the achievement to. A page's name can be found on the button in the Achievements GUI. To create a new page simply provide an unused name. IMPORTANT: To use the default Minecraft page, LEAVE THIS OPTION OUT. null (Minecraft page)
parent String The parent achievement. This is the achievement that is required before this one can be unlocked. Leave out to have no parent. null (No parent)
source String Not case sensitive. This is the source of the achievement. Must be one of: CRAFTING, ITEM_PICKUP, BLOCK_BREAK, or ENTITY_KILL. CRAFTING
required String The object required to set off the achievement. For CRAFTING or ITEM_PICKUP, this is an ItemStack. For BLOCK_BREAK, this is a blockname;meta combo (i.e. minecraft:log;4). For ENTITY_KILL, this is any part of an entity's class name. "Pig" will work for a pig entity. minecraft:stone
displayItem String The ItemStack that is the icon for the achievement. This has no bearing on how the achievement functions, it is only for what displays in the GUI. minecraft:stone

Clone this wiki locally