Regenerate and update Triumph documentation and files.

master
YandolsZX 6 years ago
parent 99c73d5933
commit ee80834cbf
  1. 2
      config/triumph/Triumph.txt
  2. 60
      config/triumph/documentation/Triumph.txt
  3. 16
      config/triumph/documentation/criteria/triggers/botania_tweaks/flower_generated_mana.txt
  4. 12
      config/triumph/documentation/criteria/triggers/minecraft/bred_animals.txt
  5. 16
      config/triumph/documentation/criteria/triggers/minecraft/construct_beacon.txt
  6. 8
      config/triumph/documentation/criteria/triggers/minecraft/cured_zombie_villager.txt
  7. 16
      config/triumph/documentation/criteria/triggers/minecraft/enchanted_item.txt
  8. 8
      config/triumph/documentation/criteria/triggers/minecraft/entity_killed_player.txt
  9. 50
      config/triumph/documentation/criteria/triggers/minecraft/inventory_changed.txt
  10. 46
      config/triumph/documentation/criteria/triggers/minecraft/item_durability_changed.txt
  11. 16
      config/triumph/documentation/criteria/triggers/minecraft/levitation.txt
  12. 24
      config/triumph/documentation/criteria/triggers/minecraft/location.txt
  13. 88
      config/triumph/documentation/criteria/triggers/minecraft/nether_travel.txt
  14. 36
      config/triumph/documentation/criteria/triggers/minecraft/placed_block.txt
  15. 24
      config/triumph/documentation/criteria/triggers/minecraft/slept_in_bed.txt
  16. 96
      config/triumph/documentation/criteria/triggers/triumph/left_click_block.txt
  17. 36
      config/triumph/documentation/criteria/triggers/triumph/player_break_block.txt
  18. 36
      config/triumph/documentation/criteria/triggers/triumph/player_destroy_block.txt
  19. 36
      config/triumph/documentation/criteria/triggers/triumph/player_harvest_block.txt
  20. 96
      config/triumph/documentation/criteria/triggers/triumph/right_click_block.txt
  21. 30
      config/triumph/documentation/criteria/triggers/triumph/right_click_item.txt
  22. 48
      config/triumph/documentation/dataObjects/DamageData.txt
  23. 44
      config/triumph/documentation/dataObjects/DamageSourceData.txt
  24. 16
      config/triumph/documentation/dataObjects/DimensionData.txt
  25. 86
      config/triumph/documentation/dataObjects/DistanceData.txt
  26. 32
      config/triumph/documentation/dataObjects/EntityData.txt
  27. 76
      config/triumph/documentation/dataObjects/LocationData.txt
  28. 52
      config/triumph/documentation/dataObjects/PotionEffectData.txt
  29. 300
      config/triumph/documentation/script/ScriptAdvancement.txt
  30. 30
      config/triumph/example_script/botania_tweaks/example_flower_generated_mana.txt
  31. 28
      config/triumph/example_script/botania_tweaks/example_total_generated_mana.txt
  32. 39
      config/triumph/example_script/example_all_rewards.txt
  33. 32
      config/triumph/example_script/example_better_advancement_colors.txt
  34. 24
      config/triumph/example_script/example_break_block.txt
  35. 30
      config/triumph/example_script/example_bred_animals.txt
  36. 26
      config/triumph/example_script/example_brewed_potion.txt
  37. 31
      config/triumph/example_script/example_completed_advancement.txt
  38. 26
      config/triumph/example_script/example_construct_beacon.txt
  39. 24
      config/triumph/example_script/example_consume_item.txt
  40. 26
      config/triumph/example_script/example_count.txt
  41. 24
      config/triumph/example_script/example_destroy_block.txt
  42. 24
      config/triumph/example_script/example_enchanted_item.txt
  43. 24
      config/triumph/example_script/example_enter_biome.txt
  44. 24
      config/triumph/example_script/example_enter_block.txt
  45. 26
      config/triumph/example_script/example_enter_dimension.txt
  46. 24
      config/triumph/example_script/example_harvest_block.txt
  47. 24
      config/triumph/example_script/example_hurt_entity.txt
  48. 22
      config/triumph/example_script/example_impossible.txt
  49. 24
      config/triumph/example_script/example_inventory_changed.txt
  50. 26
      config/triumph/example_script/example_item_crafted.txt
  51. 24
      config/triumph/example_script/example_killed_by_entity.txt
  52. 24
      config/triumph/example_script/example_killed_entity.txt
  53. 24
      config/triumph/example_script/example_left_click_block.txt
  54. 24
      config/triumph/example_script/example_location_dimID.txt
  55. 24
      config/triumph/example_script/example_location_worldtype.txt
  56. 24
      config/triumph/example_script/example_placed_block.txt
  57. 24
      config/triumph/example_script/example_recipe_unlocked.txt
  58. 27
      config/triumph/example_script/example_repeatable.txt
  59. 24
      config/triumph/example_script/example_right_click_block.txt
  60. 24
      config/triumph/example_script/example_slept_in_bed.txt
  61. 24
      config/triumph/example_script/example_tame_animal.txt
  62. 27
      config/triumph/example_script/example_villager_trade.txt
  63. 27
      config/triumph/example_script/immersiveengineering/example_multiblock_formed.txt
  64. 26
      config/triumph/example_script/root.txt
  65. 1
      config/triumph/script/triumph/vanilla/adventure/kill_all_mobs.txt
  66. 1
      config/triumph/script/triumph/vanilla/adventure/root.txt
  67. 1
      config/triumph/script/triumph/vanilla/adventure/trade.txt
  68. 1
      config/triumph/script/triumph/vanilla/end/levitate.txt
  69. 1
      config/triumph/script/triumph/vanilla/nether/all_potions.txt
  70. 1
      config/triumph/script/triumph/vanilla/story/mine_stone.txt
  71. 1
      config/triumph/script/triumph/vanilla/story/upgrade_tools.txt

@ -4,6 +4,6 @@ removeVanillaAdvancements(true)
removeModAdvancements(false) removeModAdvancements(false)
keepAdvancements([""]) keepAdvancements([""])
removeAdvancements(["bonsaitrees", "bettermuffling"]) removeAdvancements(["bonsaitrees", "bettermuffling"])
allowDragging(true) allowDragging(false)
useNewParentCompletionCriteriaNames() useNewParentCompletionCriteriaNames()
pageOrder([""]) pageOrder([""])

@ -3,14 +3,6 @@ and documentation will be printed.
pageOrder:
Arguments:
String array
Usage:
Array of root advancement resource location
Notes:
Forces an order for advancement pages in the gui. Any not added to this array are ordered alphabetically.
allowDragging: allowDragging:
Arguments: Arguments:
boolean boolean
@ -19,17 +11,29 @@ allowDragging:
Notes: Notes:
Sets whether advancements can be dragged around in the gui. End positions will be saved to script files when the mouse button is released, but advancements must be reloaded to refresh positions after the gui is closed. Sets whether advancements can be dragged around in the gui. End positions will be saved to script files when the mouse button is released, but advancements must be reloaded to refresh positions after the gui is closed.
useNewParentCompletionCriteriaNames: keepAdvancements:
Arguments:
String array
Default Values:
true
Notes: Notes:
Tells the mod to use the new naming scheme for parent completion criteria generated with 'setRequiresParents()', instead of the old one. 'Completed Title' vs 'completedParent1' Used to set advancements that should be kept. Can contain both mod ids and advancement ids. If anything is set in this array, everything else will be removed.
removeVanillaAdvancements: removeAdvancements:
Arguments:
String array
Default Values:
true
Notes:
Used to set advancements that should be removed. Can contain both mod ids and advancement ids. If anything is set in this array, everything else will be kept.
removeModAdvancements:
Arguments: Arguments:
boolean boolean
Default Values: Default Values:
true true
Notes: Notes:
Used to set whether Triumph should remove vanilla advancements. Used to set whether Triumph should remove mod advancements.
printDefaultConfigs: printDefaultConfigs:
Arguments: Arguments:
@ -39,11 +43,17 @@ printDefaultConfigs:
Notes: Notes:
Used to set whether Triumph should print default config files. This will replace files. Always backup first! Used to set whether Triumph should print default config files. This will replace files. Always backup first!
forceReloadFunctions: pageOrder:
Arguments: Arguments:
boolean String array
Usage:
Array of root advancement resource location
Notes: Notes:
No longer does anything. Simply here to avoid script errors. Will be removed fully in a future update. Forces an order for advancement pages in the gui. Any not added to this array are ordered alphabetically.
useNewParentCompletionCriteriaNames:
Notes:
Tells the mod to use the new naming scheme for parent completion criteria generated with 'setRequiresParents()', instead of the old one. 'Completed Title' vs 'completedParent1'
printDocumentation: printDocumentation:
Arguments: Arguments:
@ -53,27 +63,17 @@ printDocumentation:
Notes: Notes:
Used to set whether Triumph should print config documentation. Used to set whether Triumph should print config documentation.
removeModAdvancements: removeVanillaAdvancements:
Arguments: Arguments:
boolean boolean
Default Values: Default Values:
true true
Notes: Notes:
Used to set whether Triumph should remove mod advancements. Used to set whether Triumph should remove vanilla advancements.
removeAdvancements:
Arguments:
String array
Default Values:
true
Notes:
Used to set advancements that should be removed. Can contain both mod ids and advancement ids. If anything is set in this array, everything else will be kept.
keepAdvancements: forceReloadFunctions:
Arguments: Arguments:
String array boolean
Default Values:
true
Notes: Notes:
Used to set advancements that should be kept. Can contain both mod ids and advancement ids. If anything is set in this array, everything else will be removed. No longer does anything. Simply here to avoid script errors. Will be removed fully in a future update.

@ -4,14 +4,6 @@ of mana with a certain flower.
setFlower:
Arguments:
String
Usage:
flower name
Notes:
Sets the required flower.
setRequiredMana: setRequiredMana:
Arguments: Arguments:
long long
@ -20,6 +12,14 @@ setRequiredMana:
Notes: Notes:
Sets the required mana for the flower to have generated. Sets the required mana for the flower to have generated.
setFlower:
Arguments:
String
Usage:
flower name
Notes:
Sets the required flower.
setCount: setCount:
Arguments: Arguments:
int int

@ -15,6 +15,10 @@ setParentType:
Notes: Notes:
Sets the parent entity type. Sets the parent entity type.
getPartnerData:
Notes:
Returns the EntityData object for the partner so functions can be called on it.
setChildType: setChildType:
Arguments: Arguments:
String String
@ -23,10 +27,6 @@ setChildType:
Notes: Notes:
Sets the child entity type. Sets the child entity type.
getChildData:
Notes:
Returns the EntityData object for the child so functions can be called on it.
setPartnerType: setPartnerType:
Arguments: Arguments:
String String
@ -35,9 +35,9 @@ setPartnerType:
Notes: Notes:
Sets the partner entity type. Sets the partner entity type.
getPartnerData: getChildData:
Notes: Notes:
Returns the EntityData object for the partner so functions can be called on it. Returns the EntityData object for the child so functions can be called on it.
setCount: setCount:
Arguments: Arguments:

@ -3,6 +3,14 @@ trigger.
setLevelsMinMax:
Arguments:
float, float
Usage:
min, max
Notes:
Sets the min and max levels for the beacon.
setLevelsMax: setLevelsMax:
Arguments: Arguments:
float float
@ -19,14 +27,6 @@ setLevelsMin:
Notes: Notes:
Sets the min levels for the beacon. Sets the min levels for the beacon.
setLevelsMinMax:
Arguments:
float, float
Usage:
min, max
Notes:
Sets the min and max levels for the beacon.
setCount: setCount:
Arguments: Arguments:
int int

@ -15,6 +15,10 @@ setVillagerType:
Notes: Notes:
Sets the villager entity type. Sets the villager entity type.
getZombieData:
Notes:
Returns the EntityData object for the zombie so functions can be called on it.
setZombieType: setZombieType:
Arguments: Arguments:
String String
@ -23,10 +27,6 @@ setZombieType:
Notes: Notes:
Sets the zombie entity type. Sets the zombie entity type.
getZombieData:
Notes:
Returns the EntityData object for the zombie so functions can be called on it.
setCount: setCount:
Arguments: Arguments:
int int

@ -11,6 +11,14 @@ setItem:
Notes: Notes:
Sets the required item. Sets the required item.
setLevelsMinMax:
Arguments:
float, float
Usage:
min, max
Notes:
Sets the min and max level for the enchantment.
setLevelsMax: setLevelsMax:
Arguments: Arguments:
float float
@ -27,14 +35,6 @@ setLevelsMin:
Notes: Notes:
Sets the min level for the enchantment. Sets the min level for the enchantment.
setLevelsMinMax:
Arguments:
float, float
Usage:
min, max
Notes:
Sets the min and max level for the enchantment.
setCount: setCount:
Arguments: Arguments:
int int

@ -6,10 +6,6 @@ getEntityData:
Notes: Notes:
Returns the EntityData object so functions can be called on it. Returns the EntityData object so functions can be called on it.
getDamageSource:
Notes:
Returns the DamageSourceData object so functions can be called on it.
setEntityType: setEntityType:
Arguments: Arguments:
String String
@ -18,6 +14,10 @@ setEntityType:
Notes: Notes:
Sets the entity type. Sets the entity type.
getDamageSource:
Notes:
Returns the DamageSourceData object so functions can be called on it.
setCount: setCount:
Arguments: Arguments:
int int

@ -11,13 +11,13 @@ addItem:
Notes: Notes:
Adds a required item. Adds a required item.
setFullMin: setOccupiedMinMax:
Arguments: Arguments:
float float, float
Usage: Usage:
min min, max
Notes: Notes:
Sets the min value for full inventory slots. Sets the min and max values for occupied inventory slots.
setOccupiedMin: setOccupiedMin:
Arguments: Arguments:
@ -27,21 +27,13 @@ setOccupiedMin:
Notes: Notes:
Sets the min value for occupied inventory slots. Sets the min value for occupied inventory slots.
setEmptyMinMax: setOccupiedMax:
Arguments:
float, float
Usage:
min, max
Notes:
Sets the min and max values for empty inventory slots.
setEmptyMax:
Arguments: Arguments:
float float
Usage: Usage:
max max
Notes: Notes:
Sets the max value for empty inventory slots. Sets the max value for occupied inventory slots.
setFullMinMax: setFullMinMax:
Arguments: Arguments:
@ -51,37 +43,45 @@ setFullMinMax:
Notes: Notes:
Sets the min and max values for full inventory slots. Sets the min and max values for full inventory slots.
setEmptyMin: setEmptyMax:
Arguments: Arguments:
float float
Usage: Usage:
min max
Notes: Notes:
Sets the min value for empty inventory slots. Sets the max value for empty inventory slots.
setFullMax: setEmptyMin:
Arguments: Arguments:
float float
Usage: Usage:
max min
Notes: Notes:
Sets the max value for full inventory slots. Sets the min value for empty inventory slots.
setOccupiedMax: setFullMin:
Arguments: Arguments:
float float
Usage: Usage:
max min
Notes: Notes:
Sets the max value for occupied inventory slots. Sets the min value for full inventory slots.
setOccupiedMinMax: setEmptyMinMax:
Arguments: Arguments:
float, float float, float
Usage: Usage:
min, max min, max
Notes: Notes:
Sets the min and max values for occupied inventory slots. Sets the min and max values for empty inventory slots.
setFullMax:
Arguments:
float
Usage:
max
Notes:
Sets the max value for full inventory slots.
setCount: setCount:
Arguments: Arguments:

@ -3,61 +3,61 @@ criteria trigger.
setDurabilityMax: setItem:
Arguments: Arguments:
float ItemBlockData
Usage: Usage:
max item data
Notes: Notes:
Sets the max item durability. Sets the required item.
setDeltaMinMax: setDurabilityMinMax:
Arguments: Arguments:
float, float float, float
Usage: Usage:
min, max min, max
Notes: Notes:
Sets the min and max delta. Sets the min and max item durability.
setDeltaMin: setDeltaMax:
Arguments: Arguments:
float float
Usage: Usage:
min max
Notes: Notes:
Sets the min delta. Sets the max delta.
setDurabilityMin: setDurabilityMax:
Arguments: Arguments:
float float
Usage: Usage:
min max
Notes: Notes:
Sets the min item durability. Sets the max item durability.
setDeltaMax: setDeltaMin:
Arguments: Arguments:
float float
Usage: Usage:
max min
Notes: Notes:
Sets the max delta. Sets the min delta.
setDurabilityMinMax: setDurabilityMin:
Arguments: Arguments:
float, float float
Usage: Usage:
min, max min
Notes: Notes:
Sets the min and max item durability. Sets the min item durability.
setItem: setDeltaMinMax:
Arguments: Arguments:
ItemBlockData float, float
Usage: Usage:
item data min, max
Notes: Notes:
Sets the required item. Sets the min and max delta.
setCount: setCount:
Arguments: Arguments:

@ -6,13 +6,13 @@ getDistanceData:
Notes: Notes:
Returns the DistanceData object so functions can be called on it. Returns the DistanceData object so functions can be called on it.
setDurationMin: setDurationMinMax:
Arguments: Arguments:
float float, float
Usage: Usage:
min min, max
Notes: Notes:
Sets the min duration. Sets the min and max duration.
setDurationMax: setDurationMax:
Arguments: Arguments:
@ -22,13 +22,13 @@ setDurationMax:
Notes: Notes:
Sets the max duration. Sets the max duration.
setDurationMinMax: setDurationMin:
Arguments: Arguments:
float, float float
Usage: Usage:
min, max min
Notes: Notes:
Sets the min and max duration. Sets the min duration.
setCount: setCount:
Arguments: Arguments:

@ -10,18 +10,6 @@ setFeature:
Notes: Notes:
Sets the feature id. Used for things like structures. Sets the feature id. Used for things like structures.
setWorldType:
Arguments:
String
Usage:
WorldType id
Notes:
Sets the WorldType id.
getLocationData:
Notes:
Returns the LocationData object so functions can be called on it.
setBiome: setBiome:
Arguments: Arguments:
Non_Null_Biome_ID Non_Null_Biome_ID
@ -30,6 +18,10 @@ setBiome:
Notes: Notes:
Sets the biome id. Can be an int or String. Sets the biome id. Can be an int or String.
getLocationData:
Notes:
Returns the LocationData object so functions can be called on it.
setDimID: setDimID:
Arguments: Arguments:
int int
@ -38,6 +30,14 @@ setDimID:
Notes: Notes:
Sets the dimension id. Sets the dimension id.
setWorldType:
Arguments:
String
Usage:
WorldType id
Notes:
Sets the WorldType id.
setGeneratorOptions: setGeneratorOptions:
Arguments: Arguments:
String String

@ -7,93 +7,93 @@ getDistanceData:
Notes: Notes:
Returns the DistanceData object so functions can be called on it. Returns the DistanceData object so functions can be called on it.
setEnteredBiome: setExitedGeneratorOptions:
Arguments: Arguments:
Non_Null_Biome_ID String
Usage: Usage:
biome id generator string
Notes: Notes:
Sets the biome id for the entered location. Can be an int or String. Sets the generator options string.
setExitedFeature: setEnteredFeature:
Arguments: Arguments:
String String
Usage: Usage:
feature id feature id
Notes: Notes:
Sets the feature id for the exited location. Used for things like structures. Sets the feature id for the entered location. Used for things like structures.
getEnteredData:
Notes:
Returns the LocationData object for the entered location so functions can be called on it.
setEnteredDimID: setEnteredWorldType:
Arguments: Arguments:
int String
Usage: Usage:
dimension id WorldType id
Notes: Notes:
Sets the dimension id. Sets the WorldType id.
setExitedBiome: setEnteredGeneratorOptions:
Arguments: Arguments:
Non_Null_Biome_ID String
Usage: Usage:
biome id generator string
Notes: Notes:
Sets the biome id for the exited location. Can be an int or String. Sets the generator options string.
getExitedData: setExitedWorldType:
Arguments:
String
Usage:
WorldType id
Notes: Notes:
Returns the LocationData object for the exited location so functions can be called on it. Sets the WorldType id.
setExitedDimID: setEnteredBiome:
Arguments: Arguments:
int Non_Null_Biome_ID
Usage: Usage:
dimension id biome id
Notes: Notes:
Sets the dimension id. Sets the biome id for the entered location. Can be an int or String.
setEnteredFeature: setExitedFeature:
Arguments: Arguments:
String String
Usage: Usage:
feature id feature id
Notes: Notes:
Sets the feature id for the entered location. Used for things like structures. Sets the feature id for the exited location. Used for things like structures.
setEnteredWorldType: getEnteredData:
Arguments:
String
Usage:
WorldType id
Notes: Notes:
Sets the WorldType id. Returns the LocationData object for the entered location so functions can be called on it.
setEnteredGeneratorOptions: getExitedData:
Notes:
Returns the LocationData object for the exited location so functions can be called on it.
setExitedBiome:
Arguments: Arguments:
String Non_Null_Biome_ID
Usage: Usage:
generator string biome id
Notes: Notes:
Sets the generator options string. Sets the biome id for the exited location. Can be an int or String.
setExitedWorldType: setExitedDimID:
Arguments: Arguments:
String int
Usage: Usage:
WorldType id dimension id
Notes: Notes:
Sets the WorldType id. Sets the dimension id.
setExitedGeneratorOptions: setEnteredDimID:
Arguments: Arguments:
String int
Usage: Usage:
generator string dimension id
Notes: Notes:
Sets the generator options string. Sets the dimension id.
setCount: setCount:
Arguments: Arguments:

@ -10,17 +10,21 @@ setFeature:
Notes: Notes:
Sets the feature id. Used for things like structures. Sets the feature id. Used for things like structures.
setWorldType: setItem:
Arguments: Arguments:
String ItemBlockData
Usage: Usage:
WorldType id item data
Notes: Notes:
Sets the WorldType id. Sets the required item.
getLocationData: setBlock:
Arguments:
ItemBlockData
Usage:
block data
Notes: Notes:
Returns the LocationData object so functions can be called on it. Sets the required block.
setBiome: setBiome:
Arguments: Arguments:
@ -30,6 +34,10 @@ setBiome:
Notes: Notes:
Sets the biome id. Can be an int or String. Sets the biome id. Can be an int or String.
getLocationData:
Notes:
Returns the LocationData object so functions can be called on it.
setDimID: setDimID:
Arguments: Arguments:
int int
@ -38,13 +46,13 @@ setDimID:
Notes: Notes:
Sets the dimension id. Sets the dimension id.
setBlock: setWorldType:
Arguments: Arguments:
ItemBlockData String
Usage: Usage:
block data WorldType id
Notes: Notes:
Sets the required block. Sets the WorldType id.
setGeneratorOptions: setGeneratorOptions:
Arguments: Arguments:
@ -54,14 +62,6 @@ setGeneratorOptions:
Notes: Notes:
Sets the generator options string. Sets the generator options string.
setItem:
Arguments:
ItemBlockData
Usage:
item data
Notes:
Sets the required item.
setCount: setCount:
Arguments: Arguments:
int int

@ -10,18 +10,6 @@ setFeature:
Notes: Notes:
Sets the feature id. Used for things like structures. Sets the feature id. Used for things like structures.
setWorldType:
Arguments:
String
Usage:
WorldType id
Notes:
Sets the WorldType id.
getLocationData:
Notes:
Returns the LocationData object so functions can be called on it.
setBiome: setBiome:
Arguments: Arguments:
Non_Null_Biome_ID Non_Null_Biome_ID
@ -30,6 +18,10 @@ setBiome:
Notes: Notes:
Sets the biome id. Can be an int or String. Sets the biome id. Can be an int or String.
getLocationData:
Notes:
Returns the LocationData object so functions can be called on it.
setDimID: setDimID:
Arguments: Arguments:
int int
@ -38,6 +30,14 @@ setDimID:
Notes: Notes:
Sets the dimension id. Sets the dimension id.
setWorldType:
Arguments:
String
Usage:
WorldType id
Notes:
Sets the WorldType id.
setGeneratorOptions: setGeneratorOptions:
Arguments: Arguments:
String String

@ -11,33 +11,13 @@ setFeature:
Notes: Notes:
Sets the feature id. Used for things like structures. Sets the feature id. Used for things like structures.
setWorldType: setItem:
Arguments:
String
Usage:
WorldType id
Notes:
Sets the WorldType id.
getLocationData:
Notes:
Returns the LocationData object so functions can be called on it.
setBiome:
Arguments:
Non_Null_Biome_ID
Usage:
biome id
Notes:
Sets the biome id. Can be an int or String.
setDimID:
Arguments: Arguments:
int ItemBlockData
Usage: Usage:
dimension id item data
Notes: Notes:
Sets the dimension id. Sets the required item.
setBlock: setBlock:
Arguments: Arguments:
@ -47,21 +27,21 @@ setBlock:
Notes: Notes:
Sets the required block. Sets the required block.
setHitXMinMax: setHitZMinMax:
Arguments: Arguments:
float, float float, float
Usage: Usage:
min, max min, max
Notes: Notes:
Sets the min and max X coordinates for the interaction location on the block. Sets the min and max Z coordinates for the interaction location on the block.
setHitXMin: setHitZMax:
Arguments: Arguments:
float float
Usage: Usage:
min max
Notes: Notes:
Sets the min X coordinate for the interaction location on the block. Sets the max Z coordinate for the interaction location on the block.
setHitXMax: setHitXMax:
Arguments: Arguments:
@ -71,6 +51,14 @@ setHitXMax:
Notes: Notes:
Sets the max X coordinate for the interaction location on the block. Sets the max X coordinate for the interaction location on the block.
setHitXMin:
Arguments:
float
Usage:
min
Notes:
Sets the min X coordinate for the interaction location on the block.
setHitYMinMax: setHitYMinMax:
Arguments: Arguments:
float, float float, float
@ -79,6 +67,14 @@ setHitYMinMax:
Notes: Notes:
Sets the min and max Y coordinates for the interaction location on the block. Sets the min and max Y coordinates for the interaction location on the block.
setHitXMinMax:
Arguments:
float, float
Usage:
min, max
Notes:
Sets the min and max X coordinates for the interaction location on the block.
setHitYMin: setHitYMin:
Arguments: Arguments:
float float
@ -95,45 +91,49 @@ setHitYMax:
Notes: Notes:
Sets the max Y coordinate for the interaction location on the block. Sets the max Y coordinate for the interaction location on the block.
setHitZMinMax: setHitZMin:
Arguments: Arguments:
float, float float
Usage: Usage:
min, max min
Notes: Notes:
Sets the min and max Z coordinates for the interaction location on the block. Sets the min Z coordinate for the interaction location on the block.
setHitZMax: setBiome:
Arguments: Arguments:
float Non_Null_Biome_ID
Usage: Usage:
max biome id
Notes: Notes:
Sets the max Z coordinate for the interaction location on the block. Sets the biome id. Can be an int or String.
setHitZMin: getLocationData:
Notes:
Returns the LocationData object so functions can be called on it.
setDimID:
Arguments: Arguments:
float int
Usage: Usage:
min dimension id
Notes: Notes:
Sets the min Z coordinate for the interaction location on the block. Sets the dimension id.
setGeneratorOptions: setWorldType:
Arguments: Arguments:
String String
Usage: Usage:
generator string WorldType id
Notes: Notes:
Sets the generator options string. Sets the WorldType id.
setItem: setGeneratorOptions:
Arguments: Arguments:
ItemBlockData String
Usage: Usage:
item data generator string
Notes: Notes:
Sets the required item. Sets the generator options string.
setCount: setCount:
Arguments: Arguments:

@ -12,17 +12,21 @@ setFeature:
Notes: Notes:
Sets the feature id. Used for things like structures. Sets the feature id. Used for things like structures.
setWorldType: setItem:
Arguments: Arguments:
String ItemBlockData
Usage: Usage:
WorldType id item data
Notes: Notes:
Sets the WorldType id. Sets the required item.
getLocationData: setBlock:
Arguments:
ItemBlockData
Usage:
block data
Notes: Notes:
Returns the LocationData object so functions can be called on it. Sets the required block.
setBiome: setBiome:
Arguments: Arguments:
@ -32,6 +36,10 @@ setBiome:
Notes: Notes:
Sets the biome id. Can be an int or String. Sets the biome id. Can be an int or String.
getLocationData:
Notes:
Returns the LocationData object so functions can be called on it.
setDimID: setDimID:
Arguments: Arguments:
int int
@ -40,13 +48,13 @@ setDimID:
Notes: Notes:
Sets the dimension id. Sets the dimension id.
setBlock: setWorldType:
Arguments: Arguments:
ItemBlockData String
Usage: Usage:
block data WorldType id
Notes: Notes:
Sets the required block. Sets the WorldType id.
setGeneratorOptions: setGeneratorOptions:
Arguments: Arguments:
@ -56,14 +64,6 @@ setGeneratorOptions:
Notes: Notes:
Sets the generator options string. Sets the generator options string.
setItem:
Arguments:
ItemBlockData
Usage:
item data
Notes:
Sets the required item.
setCount: setCount:
Arguments: Arguments:
int int

@ -11,17 +11,21 @@ setFeature:
Notes: Notes:
Sets the feature id. Used for things like structures. Sets the feature id. Used for things like structures.
setWorldType: setItem:
Arguments: Arguments:
String ItemBlockData
Usage: Usage:
WorldType id item data
Notes: Notes:
Sets the WorldType id. Sets the required item.
getLocationData: setBlock:
Arguments:
ItemBlockData
Usage:
block data
Notes: Notes:
Returns the LocationData object so functions can be called on it. Sets the required block.
setBiome: setBiome:
Arguments: Arguments:
@ -31,6 +35,10 @@ setBiome:
Notes: Notes:
Sets the biome id. Can be an int or String. Sets the biome id. Can be an int or String.
getLocationData:
Notes:
Returns the LocationData object so functions can be called on it.
setDimID: setDimID:
Arguments: Arguments:
int int
@ -39,13 +47,13 @@ setDimID:
Notes: Notes:
Sets the dimension id. Sets the dimension id.
setBlock: setWorldType:
Arguments: Arguments:
ItemBlockData String
Usage: Usage:
block data WorldType id
Notes: Notes:
Sets the required block. Sets the WorldType id.
setGeneratorOptions: setGeneratorOptions:
Arguments: Arguments:
@ -55,14 +63,6 @@ setGeneratorOptions:
Notes: Notes:
Sets the generator options string. Sets the generator options string.
setItem:
Arguments:
ItemBlockData
Usage:
item data
Notes:
Sets the required item.
setCount: setCount:
Arguments: Arguments:
int int

@ -11,17 +11,21 @@ setFeature:
Notes: Notes:
Sets the feature id. Used for things like structures. Sets the feature id. Used for things like structures.
setWorldType: setItem:
Arguments: Arguments:
String ItemBlockData
Usage: Usage:
WorldType id item data
Notes: Notes:
Sets the WorldType id. Sets the required item.
getLocationData: setBlock:
Arguments:
ItemBlockData
Usage:
block data
Notes: Notes:
Returns the LocationData object so functions can be called on it. Sets the required block.
setBiome: setBiome:
Arguments: Arguments:
@ -31,6 +35,10 @@ setBiome:
Notes: Notes:
Sets the biome id. Can be an int or String. Sets the biome id. Can be an int or String.
getLocationData:
Notes:
Returns the LocationData object so functions can be called on it.
setDimID: setDimID:
Arguments: Arguments:
int int
@ -39,13 +47,13 @@ setDimID:
Notes: Notes:
Sets the dimension id. Sets the dimension id.
setBlock: setWorldType:
Arguments: Arguments:
ItemBlockData String
Usage: Usage:
block data WorldType id
Notes: Notes:
Sets the required block. Sets the WorldType id.
setGeneratorOptions: setGeneratorOptions:
Arguments: Arguments:
@ -55,14 +63,6 @@ setGeneratorOptions:
Notes: Notes:
Sets the generator options string. Sets the generator options string.
setItem:
Arguments:
ItemBlockData
Usage:
item data
Notes:
Sets the required item.
setCount: setCount:
Arguments: Arguments:
int int

@ -11,33 +11,13 @@ setFeature:
Notes: Notes:
Sets the feature id. Used for things like structures. Sets the feature id. Used for things like structures.
setWorldType: setItem:
Arguments:
String
Usage:
WorldType id
Notes:
Sets the WorldType id.
getLocationData:
Notes:
Returns the LocationData object so functions can be called on it.
setBiome:
Arguments:
Non_Null_Biome_ID
Usage:
biome id
Notes:
Sets the biome id. Can be an int or String.
setDimID:
Arguments: Arguments:
int ItemBlockData
Usage: Usage:
dimension id item data
Notes: Notes:
Sets the dimension id. Sets the required item.
setBlock: setBlock:
Arguments: Arguments:
@ -47,21 +27,21 @@ setBlock:
Notes: Notes:
Sets the required block. Sets the required block.
setHitXMinMax: setHitZMinMax:
Arguments: Arguments:
float, float float, float
Usage: Usage:
min, max min, max
Notes: Notes:
Sets the min and max X coordinates for the interaction location on the block. Sets the min and max Z coordinates for the interaction location on the block.
setHitXMin: setHitZMax:
Arguments: Arguments:
float float
Usage: Usage:
min max
Notes: Notes:
Sets the min X coordinate for the interaction location on the block. Sets the max Z coordinate for the interaction location on the block.
setHitXMax: setHitXMax:
Arguments: Arguments:
@ -71,6 +51,14 @@ setHitXMax:
Notes: Notes:
Sets the max X coordinate for the interaction location on the block. Sets the max X coordinate for the interaction location on the block.
setHitXMin:
Arguments:
float
Usage:
min
Notes:
Sets the min X coordinate for the interaction location on the block.
setHitYMinMax: setHitYMinMax:
Arguments: Arguments:
float, float float, float
@ -79,6 +67,14 @@ setHitYMinMax:
Notes: Notes:
Sets the min and max Y coordinates for the interaction location on the block. Sets the min and max Y coordinates for the interaction location on the block.
setHitXMinMax:
Arguments:
float, float
Usage:
min, max
Notes:
Sets the min and max X coordinates for the interaction location on the block.
setHitYMin: setHitYMin:
Arguments: Arguments:
float float
@ -95,45 +91,49 @@ setHitYMax:
Notes: Notes:
Sets the max Y coordinate for the interaction location on the block. Sets the max Y coordinate for the interaction location on the block.
setHitZMinMax: setHitZMin:
Arguments: Arguments:
float, float float
Usage: Usage:
min, max min
Notes: Notes:
Sets the min and max Z coordinates for the interaction location on the block. Sets the min Z coordinate for the interaction location on the block.
setHitZMax: setBiome:
Arguments: Arguments:
float Non_Null_Biome_ID
Usage: Usage:
max biome id
Notes: Notes:
Sets the max Z coordinate for the interaction location on the block. Sets the biome id. Can be an int or String.
setHitZMin: getLocationData:
Notes:
Returns the LocationData object so functions can be called on it.
setDimID:
Arguments: Arguments:
float int
Usage: Usage:
min dimension id
Notes: Notes:
Sets the min Z coordinate for the interaction location on the block. Sets the dimension id.
setGeneratorOptions: setWorldType:
Arguments: Arguments:
String String
Usage: Usage:
generator string WorldType id
Notes: Notes:
Sets the generator options string. Sets the WorldType id.
setItem: setGeneratorOptions:
Arguments: Arguments:
ItemBlockData String
Usage: Usage:
item data generator string
Notes: Notes:
Sets the required item. Sets the generator options string.
setCount: setCount:
Arguments: Arguments:

@ -11,17 +11,13 @@ setFeature:
Notes: Notes:
Sets the feature id. Used for things like structures. Sets the feature id. Used for things like structures.
setWorldType: setItem:
Arguments: Arguments:
String ItemBlockData
Usage: Usage:
WorldType id item data
Notes:
Sets the WorldType id.
getLocationData:
Notes: Notes:
Returns the LocationData object so functions can be called on it. Sets the required item.
setBiome: setBiome:
Arguments: Arguments:
@ -31,6 +27,10 @@ setBiome:
Notes: Notes:
Sets the biome id. Can be an int or String. Sets the biome id. Can be an int or String.
getLocationData:
Notes:
Returns the LocationData object so functions can be called on it.
setDimID: setDimID:
Arguments: Arguments:
int int
@ -39,21 +39,21 @@ setDimID:
Notes: Notes:
Sets the dimension id. Sets the dimension id.
setGeneratorOptions: setWorldType:
Arguments: Arguments:
String String
Usage: Usage:
generator string WorldType id
Notes: Notes:
Sets the generator options string. Sets the WorldType id.
setItem: setGeneratorOptions:
Arguments: Arguments:
ItemBlockData String
Usage: Usage:
item data generator string
Notes: Notes:
Sets the required item. Sets the generator options string.
setCount: setCount:
Arguments: Arguments:

@ -2,6 +2,14 @@ These are the functions which can be called on a DamageData object.
getEntityData:
Notes:
Returns the EntityData object so functions can be called on it.
getDamageSourceData:
Notes:
Returns the DamageSourceData object so functions can be called on it.
setBlocked: setBlocked:
Arguments: Arguments:
boolean boolean
@ -10,17 +18,13 @@ setBlocked:
Notes: Notes:
Sets if the damage was blocked. Sets if the damage was blocked.
getEntityData: setDealtMinMax:
Notes:
Returns the EntityData object so functions can be called on it.
setDealtMin:
Arguments: Arguments:
float float, float
Usage: Usage:
min min, max
Notes: Notes:
Sets the min damage dealt. Sets the min and max damage dealt.
setTakenMax: setTakenMax:
Arguments: Arguments:
@ -30,21 +34,13 @@ setTakenMax:
Notes: Notes:
Sets the max damage taken. Sets the max damage taken.
setTakenMin: setTakenMinMax:
Arguments:
float
Usage:
min
Notes:
Sets the min damage taken.
setDealtMinMax:
Arguments: Arguments:
float, float float, float
Usage: Usage:
min, max min, max
Notes: Notes:
Sets the min and max damage dealt. Sets the min and max damage taken.
setDealtMax: setDealtMax:
Arguments: Arguments:
@ -54,15 +50,19 @@ setDealtMax:
Notes: Notes:
Sets the max damage dealt. Sets the max damage dealt.
setTakenMinMax: setDealtMin:
Arguments: Arguments:
float, float float
Usage: Usage:
min, max min
Notes: Notes:
Sets the min and max damage taken. Sets the min damage dealt.
getDamageSourceData: setTakenMin:
Arguments:
float
Usage:
min
Notes: Notes:
Returns the DamageSourceData object so functions can be called on it. Sets the min damage taken.

@ -2,67 +2,67 @@ These are the functions which can be called on a DamageSourceData object.
bypassesArmor: isExplosion:
Arguments: Arguments:
boolean boolean
Usage: Usage:
true/false true/false
Notes: Notes:
Sets if the damage source bypasses armor. Sets if the damage source is an explosion.
getSourceData:
Notes:
Returns the EntityData object for the source entity (This would be for the player/skeleton/etc.) so functions can be called on it.
isFire: isProjectile:
Arguments: Arguments:
boolean boolean
Usage: Usage:
true/false true/false
Notes: Notes:
Sets if the damage source is fire. Sets if the damage source is a projectile.
bypassesMagic: isMagic:
Arguments: Arguments:
boolean boolean
Usage: Usage:
true/false true/false
Notes: Notes:
Sets if the damage source bypasses magic. Sets if the damage source is magic.
isMagic: getImmediateSourceData:
Notes:
Returns the EntityData object for the immediate source entity (This would be for things like projectiles.) so functions can be called on it.
bypassesInvulnerability:
Arguments: Arguments:
boolean boolean
Usage: Usage:
true/false true/false
Notes: Notes:
Sets if the damage source is magic. Sets if the damage source bypasses invulerability.
isExplosion: bypassesMagic:
Arguments: Arguments:
boolean boolean
Usage: Usage:
true/false true/false
Notes: Notes:
Sets if the damage source is an explosion. Sets if the damage source bypasses magic.
isProjectile: getSourceData:
Notes:
Returns the EntityData object for the source entity (This would be for the player/skeleton/etc.) so functions can be called on it.
bypassesArmor:
Arguments: Arguments:
boolean boolean
Usage: Usage:
true/false true/false
Notes: Notes:
Sets if the damage source is a projectile. Sets if the damage source bypasses armor.
getImmediateSourceData:
Notes:
Returns the EntityData object for the immediate source entity (This would be for things like projectiles.) so functions can be called on it.
bypassesInvulnerability: isFire:
Arguments: Arguments:
boolean boolean
Usage: Usage:
true/false true/false
Notes: Notes:
Sets if the damage source bypasses invulerability. Sets if the damage source is fire.

@ -2,14 +2,6 @@ These are the functions which can be called on an DimensionData object.
setDimensionType:
Arguments:
String
Usage:
dimension type
Notes:
Sets the dimension type. Vanilla options are "overworld", "the_nether", "the_end"
setDimensionID: setDimensionID:
Arguments: Arguments:
int int
@ -18,3 +10,11 @@ setDimensionID:
Notes: Notes:
Sets the dimension id. Sets the dimension id.
setDimensionType:
Arguments:
String
Usage:
dimension type
Notes:
Sets the dimension type. Vanilla options are "overworld", "the_nether", "the_end"

@ -2,53 +2,69 @@ These are the functions which can be called on a DistanceData object.
setXMinMax: setHorizontalMinMax:
Arguments: Arguments:
float, float float, float
Usage: Usage:
min, max min, max
Notes: Notes:
Sets the min and max distances on the X axis. Sets the min and max distances on the horizontal axis.
setYMinMax: setAbsoluteMinMax:
Arguments: Arguments:
float, float float, float
Usage: Usage:
min, max min, max
Notes: Notes:
Sets the min and max distances on the Y axis. Sets the min and max distances for all directions combined.
setZMin: setXMin:
Arguments: Arguments:
float float
Usage: Usage:
min min
Notes: Notes:
Sets the min distance on the Z axis. Sets the min distance on the X axis.
setAbsoluteMin: setXMinMax:
Arguments:
float, float
Usage:
min, max
Notes:
Sets the min and max distances on the X axis.
setXMax:
Arguments: Arguments:
float float
Usage: Usage:
min max
Notes: Notes:
Sets the min distance for all directions combined. Sets the max distance on the X axis.
setHorizontalMin: setYMinMax:
Arguments:
float, float
Usage:
min, max
Notes:
Sets the min and max distances on the Y axis.
setYMin:
Arguments: Arguments:
float float
Usage: Usage:
min min
Notes: Notes:
Sets the min distance on the horizontal axis. Sets the min distance on the Y axis.
setXMin: setYMax:
Arguments: Arguments:
float float
Usage: Usage:
min max
Notes: Notes:
Sets the min distance on the X axis. Sets the max distance on the Y axis.
setZMinMax: setZMinMax:
Arguments: Arguments:
@ -58,6 +74,14 @@ setZMinMax:
Notes: Notes:
Sets the min and max distances on the Z axis. Sets the min and max distances on the Z axis.
setZMin:
Arguments:
float
Usage:
min
Notes:
Sets the min distance on the Z axis.
setZMax: setZMax:
Arguments: Arguments:
float float
@ -66,13 +90,13 @@ setZMax:
Notes: Notes:
Sets the max distance on the Z axis. Sets the max distance on the Z axis.
setXMax: setHorizontalMin:
Arguments: Arguments:
float float
Usage: Usage:
max min
Notes: Notes:
Sets the max distance on the X axis. Sets the min distance on the horizontal axis.
setHorizontalMax: setHorizontalMax:
Arguments: Arguments:
@ -90,35 +114,11 @@ setAbsoluteMax:
Notes: Notes:
Sets the max distance for all directions combined. Sets the max distance for all directions combined.
setYMin: setAbsoluteMin:
Arguments: Arguments:
float float
Usage: Usage:
min min
Notes: Notes:
Sets the min distance on the Y axis. Sets the min distance for all directions combined.
setYMax:
Arguments:
float
Usage:
max
Notes:
Sets the max distance on the Y axis.
setHorizontalMinMax:
Arguments:
float, float
Usage:
min, max
Notes:
Sets the min and max distances on the horizontal axis.
setAbsoluteMinMax:
Arguments:
float, float
Usage:
min, max
Notes:
Sets the min and max distances for all directions combined.

@ -22,41 +22,41 @@ getDistanceData:
Notes: Notes:
Returns the DistanceData object so functions can be called on it. Returns the DistanceData object so functions can be called on it.
setWorldType: setBiome:
Arguments: Arguments:
String Non_Null_Biome_ID
Usage: Usage:
WorldType id biome id
Notes: Notes:
Sets the WorldType id. Sets the biome id. Can be an int or String.
getLocationData: getLocationData:
Notes: Notes:
Returns the LocationData object so functions can be called on it. Returns the LocationData object so functions can be called on it.
setDimensionType: setDimID:
Arguments: Arguments:
String int
Usage: Usage:
dimension type dimension id
Notes: Notes:
Sets the dimension type. Vanilla options are "overworld", "the_nether", "the_end" Sets the dimension id.
setBiome: setWorldType:
Arguments: Arguments:
Non_Null_Biome_ID String
Usage: Usage:
biome id WorldType id
Notes: Notes:
Sets the biome id. Can be an int or String. Sets the WorldType id.
setDimID: setDimensionType:
Arguments: Arguments:
int String
Usage: Usage:
dimension id dimension type
Notes: Notes:
Sets the dimension id. Sets the dimension type. Vanilla options are "overworld", "the_nether", "the_end"
setGeneratorOptions: setGeneratorOptions:
Arguments: Arguments:

@ -10,22 +10,6 @@ setFeature:
Notes: Notes:
Sets the feature id. Used for things like structures. Sets the feature id. Used for things like structures.
setWorldType:
Arguments:
String
Usage:
WorldType id
Notes:
Sets the WorldType id.
setDimensionType:
Arguments:
String
Usage:
dimension type
Notes:
Sets the dimension type. Vanilla options are "overworld", "the_nether", "the_end"
setBiome: setBiome:
Arguments: Arguments:
Non_Null_Biome_ID Non_Null_Biome_ID
@ -42,6 +26,22 @@ setDimID:
Notes: Notes:
Sets the dimension id. Sets the dimension id.
setWorldType:
Arguments:
String
Usage:
WorldType id
Notes:
Sets the WorldType id.
setXMin:
Arguments:
float
Usage:
min
Notes:
Sets the min X coordinate.
setXMinMax: setXMinMax:
Arguments: Arguments:
float, float float, float
@ -50,6 +50,14 @@ setXMinMax:
Notes: Notes:
Sets the min and max X coordinates. Sets the min and max X coordinates.
setXMax:
Arguments:
float
Usage:
max
Notes:
Sets the max X coordinate.
setYMinMax: setYMinMax:
Arguments: Arguments:
float, float float, float
@ -58,21 +66,21 @@ setYMinMax:
Notes: Notes:
Sets the min and max Y coordinates. Sets the min and max Y coordinates.
setZMin: setYMin:
Arguments: Arguments:
float float
Usage: Usage:
min min
Notes: Notes:
Sets the min Z coordinate. Sets the min Y coordinate.
setXMin: setYMax:
Arguments: Arguments:
float float
Usage: Usage:
min max
Notes: Notes:
Sets the min X coordinate. Sets the max Y coordinate.
setZMinMax: setZMinMax:
Arguments: Arguments:
@ -82,37 +90,29 @@ setZMinMax:
Notes: Notes:
Sets the min and max Z coordinates. Sets the min and max Z coordinates.
setZMax: setZMin:
Arguments:
float
Usage:
max
Notes:
Sets the max Z coordinate.
setXMax:
Arguments: Arguments:
float float
Usage: Usage:
max min
Notes: Notes:
Sets the max X coordinate. Sets the min Z coordinate.
setYMin: setDimensionType:
Arguments: Arguments:
float String
Usage: Usage:
min dimension type
Notes: Notes:
Sets the min Y coordinate. Sets the dimension type. Vanilla options are "overworld", "the_nether", "the_end"
setYMax: setZMax:
Arguments: Arguments:
float float
Usage: Usage:
max max
Notes: Notes:
Sets the max Y coordinate. Sets the max Z coordinate.
setGeneratorOptions: setGeneratorOptions:
Arguments: Arguments:

@ -10,29 +10,37 @@ setVisible:
Notes: Notes:
Sets if the effect is visible. Sets if the effect is visible.
setDurationMin: setAmbient:
Arguments: Arguments:
float boolean
Usage: Usage:
min true/false
Notes: Notes:
Sets the min duration for the effect. Sets if the effect is ambient.
setDurationMax: setDurationMinMax:
Arguments: Arguments:
float float, float
Usage: Usage:
max min, max
Notes: Notes:
Sets the max duration for the effect. Sets the min and max duration for the effect.
setAmplifierMax: setAmplifierMinMax:
Arguments:
float, float
Usage:
min, max
Notes:
Sets the min and max amplifier for the effect.
setDurationMax:
Arguments: Arguments:
float float
Usage: Usage:
max max
Notes: Notes:
Sets the max amplifier for the effect. Sets the max duration for the effect.
setAmplifierMin: setAmplifierMin:
Arguments: Arguments:
@ -42,27 +50,19 @@ setAmplifierMin:
Notes: Notes:
Sets the min amplifier for the effect. Sets the min amplifier for the effect.
setAmbient: setDurationMin:
Arguments:
boolean
Usage:
true/false
Notes:
Sets if the effect is ambient.
setDurationMinMax:
Arguments: Arguments:
float, float float
Usage: Usage:
min, max min
Notes: Notes:
Sets the min and max duration for the effect. Sets the min duration for the effect.
setAmplifierMinMax: setAmplifierMax:
Arguments: Arguments:
float, float float
Usage: Usage:
min, max max
Notes: Notes:
Sets the min and max amplifier for the effect. Sets the max amplifier for the effect.

@ -2,14 +2,6 @@ These are the functions which can be called directly in a script advancement fil
setHidden:
Arguments:
boolean
Usage:
if the advancement should be hidden
Notes:
Sets if the advancement should be hidden until it is completed. Not compatible with other visibility options.
setDescription: setDescription:
Arguments: Arguments:
String String
@ -18,13 +10,13 @@ setDescription:
Notes: Notes:
Sets the description for the advancement. This or setTranslatedDescription is required. Sets the description for the advancement. This or setTranslatedDescription is required.
addCriteria: setTitle:
Arguments: Arguments:
String, String String
Usage: Usage:
criteria name, criteria trigger type title
Notes: Notes:
Adds a criteria to the advancement with the specified type. Returns the criteria object for use as a variable. Sets the title for the advancement. This or setTranslatedTitle is required.
hideLines: hideLines:
Notes: Notes:
@ -34,13 +26,13 @@ drawDirectLines:
Notes: Notes:
Sets the advancement to draw direct lines to parents. Sets the advancement to draw direct lines to parents.
setTitle: setHidden:
Arguments: Arguments:
String boolean
Usage: Usage:
title if the advancement should be hidden
Notes: Notes:
Sets the title for the advancement. This or setTranslatedTitle is required. Sets if the advancement should be hidden until it is completed. Not compatible with other visibility options.
setIcon: setIcon:
Arguments: Arguments:
@ -50,13 +42,11 @@ setIcon:
Notes: Notes:
Sets the item icon for the advancement. This is required. Sets the item icon for the advancement. This is required.
setPos: addParent:
Arguments: Arguments:
int, int String
Usage:
x pos, y pos
Notes: Notes:
Sets the x and y coordinates of the advancement. Adds a parent for the advancement. This only effects its position on the advancement page and connection lines. By default parents are not required for the advancement to be completed. At least one parent is required for non-root advancements. If the string ends with a / it will be treated as a folder, and all advancements within that folder will be added as parents.
setBackground: setBackground:
Arguments: Arguments:
@ -66,59 +56,41 @@ setBackground:
Notes: Notes:
Sets the background for the advancement page. This is required and only used by root advancements. Be aware the background is tiled. Sets the background for the advancement page. This is required and only used by root advancements. Be aware the background is tiled.
addParent: setCompletedLineColor:
Arguments:
String
Notes:
Adds a parent for the advancement. This only effects its position on the advancement page and connection lines. By default parents are not required for the advancement to be completed. At least one parent is required for non-root advancements. If the string ends with a / it will be treated as a folder, and all advancements within that folder will be added as parents.
setCompletedIconColor:
Arguments: Arguments:
int int
Usage: Usage:
color color int
Notes: Notes:
Sets the completed icon color for the advancement. Sets the completed line color for the advancement.
setCompletedIconColor: setCompletedLineColor:
Arguments: Arguments:
int, int, int int, int, int
Usage: Usage:
red, green, blue red, green, blue
Notes: Notes:
Sets the completed icon color for the advancement. Sets the completed line color for the advancement.
addRewardLootTable:
Arguments:
String
Usage:
loottable resource location
Notes:
Adds a loot table reward.
setUncompletedLineColor: setAnnounceToChat:
Arguments: Arguments:
int boolean
Usage: Usage:
color int if advancement completion should be announced in chat
Notes: Notes:
Sets the uncompleted line color for the advancement. Sets if the advancement completion should be announced in chat.
setUncompletedLineColor: setTranslatedDescription:
Arguments: Arguments:
int, int, int String
Usage: Usage:
red, green, blue description translation path
Notes: Notes:
Sets the uncompleted line color for the advancement. Sets the description for the advancement. Used for localization. This or setDescription is required.
setTranslatedTitle: setRequiresParents:
Arguments:
String
Usage:
title translation path
Notes: Notes:
Sets the translated title for the advancement. Used for localization. This or setTitle is required. This is a helper method which adds criteria either named 'completedParent'/'completedParent2'/etc or if the 'useNewParentCompletionCriteriaNames' option is set in the main config named the same as their title or resource location (Example: "Completed Some Advancement Title") with type "triumph:completed_advancement", and makes them a requirement. This effectively makes the advancement require its parents to be completed before it can be completed.
addRewardSkillable: addRewardSkillable:
Arguments: Arguments:
@ -128,85 +100,89 @@ addRewardSkillable:
Notes: Notes:
Adds a Skillable skill level up reward. Adds a Skillable skill level up reward.
setAnnounceToChat: pageAlwaysVisible:
Arguments:
boolean
Usage:
if advancement completion should be announced in chat
Notes: Notes:
Sets if the advancement completion should be announced in chat. Only usable in root advancements. Makes the page always visible. All visibility options (alwaysVisible, alwaysHidden, visibleIf, hiddenIf, visibleUnless and hiddenUnless) are run in order of addition to the script. The first one in the list to be completed is the one which enforces its visibility option.
setUncompletedIconColor: setUncompletedLineColor:
Arguments: Arguments:
int int
Usage: Usage:
color int color int
Notes: Notes:
Sets the uncompleted icon color for the advancement. Sets the uncompleted line color for the advancement.
setUncompletedIconColor: setUncompletedLineColor:
Arguments: Arguments:
int, int, int int, int, int
Usage: Usage:
red, green, blue red, green, blue
Notes: Notes:
Sets the uncompleted icon color for the advancement. Sets the uncompleted line color for the advancement.
setUncompletedTitleColor: pageVisibleUnless:
Arguments:
String
Usage:
Advancement resource location or gamestage name
Notes:
Only usable in root advancements. Makes the page visible if the provided advancement/gamestage is not completed. All visibility options (alwaysVisible, alwaysHidden, visibleIf, hiddenIf, visibleUnless and hiddenUnless) are run in order of addition to the script. The first one in the list to be completed is the one which enforces its visibility option.
setRewardExperience:
Arguments: Arguments:
int int
Usage: Usage:
color int experience
Notes: Notes:
Sets the uncompleted title color for the advancement. Sets the experience amount for the reward for completing the advancement. This is in xp, not in levels.
setUncompletedTitleColor: setTranslatedTitle:
Arguments: Arguments:
int, int, int String
Usage: Usage:
red, green, blue title translation path
Notes: Notes:
Sets the uncompleted title color for the advancement. Sets the translated title for the advancement. Used for localization. This or setTitle is required.
setCompletedLineColor: setUncompletedIconColor:
Arguments: Arguments:
int, int, int int, int, int
Usage: Usage:
red, green, blue red, green, blue
Notes: Notes:
Sets the completed line color for the advancement. Sets the uncompleted icon color for the advancement.
setCompletedLineColor: setUncompletedIconColor:
Arguments: Arguments:
int int
Usage: Usage:
color int color int
Notes: Notes:
Sets the completed line color for the advancement. Sets the uncompleted icon color for the advancement.
pageAlwaysVisible:
Notes:
Only usable in root advancements. Makes the page always visible. All visibility options (alwaysVisible, alwaysHidden, visibleIf, hiddenIf, visibleUnless and hiddenUnless) are run in order of addition to the script. The first one in the list to be completed is the one which enforces its visibility option.
pageVisibleUnless: addRewardLootTable:
Arguments: Arguments:
String String
Usage: Usage:
Advancement resource location or gamestage name loottable resource location
Notes: Notes:
Only usable in root advancements. Makes the page visible if the provided advancement/gamestage is not completed. All visibility options (alwaysVisible, alwaysHidden, visibleIf, hiddenIf, visibleUnless and hiddenUnless) are run in order of addition to the script. The first one in the list to be completed is the one which enforces its visibility option. Adds a loot table reward.
setRewardExperience: setCompletedIconColor:
Arguments: Arguments:
int int
Usage: Usage:
experience color
Notes: Notes:
Sets the experience amount for the reward for completing the advancement. This is in xp, not in levels. Sets the completed icon color for the advancement.
setRequiresParents: setCompletedIconColor:
Arguments:
int, int, int
Usage:
red, green, blue
Notes: Notes:
This is a helper method which adds criteria either named 'completedParent'/'completedParent2'/etc or if the 'useNewParentCompletionCriteriaNames' option is set in the main config named the same as their title or resource location (Example: "Completed Some Advancement Title") with type "triumph:completed_advancement", and makes them a requirement. This effectively makes the advancement require its parents to be completed before it can be completed. Sets the completed icon color for the advancement.
addRewardFunction: addRewardFunction:
Arguments: Arguments:
@ -216,13 +192,21 @@ addRewardFunction:
Notes: Notes:
Adds the function with the provided name as a reward for completing the advancement. Adds the function with the provided name as a reward for completing the advancement.
setCompletedTitleColor: setUncompletedTitleColor:
Arguments:
int, int, int
Usage:
red, green, blue
Notes:
Sets the uncompleted title color for the advancement.
setUncompletedTitleColor:
Arguments: Arguments:
int int
Usage: Usage:
color color int
Notes: Notes:
Sets the completed title color for the advancement. Sets the uncompleted title color for the advancement.
setCompletedTitleColor: setCompletedTitleColor:
Arguments: Arguments:
@ -232,49 +216,45 @@ setCompletedTitleColor:
Notes: Notes:
Sets the completed title color for the advancement. Sets the completed title color for the advancement.
setTranslatedDescription: setCompletedTitleColor:
Arguments: Arguments:
String int
Usage: Usage:
description translation path color
Notes:
Sets the description for the advancement. Used for localization. This or setDescription is required.
pageRequiresRoot:
Notes: Notes:
Convenience method to add a 'triumph:completed_advancement' criteria for this root to every advancement on the page. Can only be used in a root advancement. Sets the completed title color for the advancement.
setShowToast: setPos:
Arguments: Arguments:
boolean int, int
Usage: Usage:
if the toast should be shown x pos, y pos
Notes: Notes:
Sets if a toast should be shown to the player when the advancement is completed. Sets the x and y coordinates of the advancement.
hiddenUnless: addCriteria:
Arguments: Arguments:
String String, String
Usage: Usage:
Advancement resource location or gamestage name criteria name, criteria trigger type
Notes: Notes:
Makes the advancement hidden if the provided advancement/gamestage is not completed. All visibility options (alwaysVisible, alwaysHidden, visibleIf, hiddenIf, visibleUnless and hiddenUnless) are run in order of addition to the script. The first one in the list to be completed is the one which enforces its visibility option. Adds a criteria to the advancement with the specified type. Returns the criteria object for use as a variable.
pageVisibleIf: setFrameType:
Arguments: Arguments:
String boolean
Usage: Usage:
Advancement resource location or gamestage name frame type
Notes: Notes:
Only usable in root advancements. Makes the page visible if the provided advancement/gamestage is complete. All visibility options (alwaysVisible, alwaysHidden, visibleIf, hiddenIf, visibleUnless and hiddenUnless) are run in order of addition to the script. The first one in the list to be completed is the one which enforces its visibility option. Sets the frame type for the advancement. Options are "TASK", "CHALLENGE", "GOAL". Default is TASK.
setRepeatTime: addRewardRecipe:
Arguments: Arguments:
long String
Usage: Usage:
number of seconds before the advancement can be repeated recipe name
Notes: Notes:
Sets the number of seconds real time between advancement completion and when it will be completable again. Adds a recipe as a reward for completing the advancement. You can get the name of the recipe you want to grant from NEI or JEI.
addRequirements: addRequirements:
Arguments: Arguments:
@ -284,95 +264,115 @@ addRequirements:
Notes: Notes:
This is the manual way of adding requirements. The array of criteria requirements will be added as a requirement array. This is done in basically the same way as vanilla Json advancements, where an array of requirements is a group of criteria that, if all are completed, the advancement is completed. Multiple arrays can be added by calling this function multiple times. This is the manual way of adding requirements. The array of criteria requirements will be added as a requirement array. This is done in basically the same way as vanilla Json advancements, where an array of requirements is a group of criteria that, if all are completed, the advancement is completed. Multiple arrays can be added by calling this function multiple times.
setFrameType: addRewardItem:
Arguments: Arguments:
boolean ItemBlockData
Usage: Usage:
frame type item data
Notes: Notes:
Sets the frame type for the advancement. Options are "TASK", "CHALLENGE", "GOAL". Default is TASK. Adds the item as a reward for completing this advancement.
alwaysVisible: setShowToast:
Arguments:
boolean
Usage:
if the toast should be shown
Notes: Notes:
Makes the advancement always visible. All visibility options (alwaysVisible, alwaysHidden, visibleIf, hiddenIf, visibleUnless and hiddenUnless) are run in order of addition to the script. The first one in the list to be completed is the one which enforces its visibility option. Sets if a toast should be shown to the player when the advancement is completed.
alwaysHidden: pageRequiresRoot:
Notes: Notes:
Makes the advancement always hidden. All visibility options (alwaysVisible, alwaysHidden, visibleIf, hiddenIf, visibleUnless and hiddenUnless) are run in order of addition to the script. The first one in the list to be completed is the one which enforces its visibility option. Convenience method to add a 'triumph:completed_advancement' criteria for this root to every advancement on the page. Can only be used in a root advancement.
pageAlwaysHidden: setRequirements:
Arguments:
String, String array
Usage:
Requirements type, criteria exception array
Notes: Notes:
Only usable in root advancements. Makes the page always hidden. All visibility options (alwaysVisible, alwaysHidden, visibleIf, hiddenIf, visibleUnless and hiddenUnless) are run in order of addition to the script. The first one in the list to be completed is the one which enforces its visibility option. This is a helper method designed to make setting criteria requirements easier. If set to "all" this will make all criteria required for completion. If set to "any" this will make any criteria complete the advancement. If set to "any" the array of criteria exceptions is used to configure the requirements where all exceptions are required plus any other single criteria.
addRewardRecipe: setRequirements:
Arguments: Arguments:
String String
Usage: Usage:
recipe name Requirements type. This type can be either "any" or "all"
Notes: Notes:
Adds a recipe as a reward for completing the advancement. You can get the name of the recipe you want to grant from NEI or JEI. This is a helper method designed to make setting criteria requirements easier. If set to "all" this will make all criteria required for completion. If set to "any" this will make any criteria complete the advancement.
addRewardItem: visibleIf:
Arguments: Arguments:
ItemBlockData String
Usage: Usage:
item data Advancement resource location or gamestage name
Notes: Notes:
Adds the item as a reward for completing this advancement. Makes the advancement visible if the provided advancement/gamestage is complete. All visibility options (alwaysVisible, alwaysHidden, visibleIf, hiddenIf, visibleUnless and hiddenUnless) are run in order of addition to the script. The first one in the list to be completed is the one which enforces its visibility option.
visibleUnless: setRepeatTime:
Arguments: Arguments:
String long
Usage: Usage:
Advancement resource location or gamestage name number of seconds before the advancement can be repeated
Notes: Notes:
Makes the advancement visible if the provided advancement/gamestage is not completed. All visibility options (alwaysVisible, alwaysHidden, visibleIf, hiddenIf, visibleUnless and hiddenUnless) are run in order of addition to the script. The first one in the list to be completed is the one which enforces its visibility option. Sets the number of seconds real time between advancement completion and when it will be completable again.
visibleIf: pageHiddenIf:
Arguments: Arguments:
String String
Usage: Usage:
Advancement resource location or gamestage name Advancement resource location or gamestage name
Notes: Notes:
Makes the advancement visible if the provided advancement/gamestage is complete. All visibility options (alwaysVisible, alwaysHidden, visibleIf, hiddenIf, visibleUnless and hiddenUnless) are run in order of addition to the script. The first one in the list to be completed is the one which enforces its visibility option. Only usable in root advancements. Makes the page hidden if the provided advancement/gamestage is complete. All visibility options (alwaysVisible, alwaysHidden, visibleIf, hiddenIf, visibleUnless and hiddenUnless) are run in order of addition to the script. The first one in the list to be completed is the one which enforces its visibility option.
pageHiddenUnless: hiddenUnless:
Arguments: Arguments:
String String
Usage: Usage:
Advancement resource location or gamestage name Advancement resource location or gamestage name
Notes: Notes:
Only usable in root advancements. Makes the page hidden if the provided advancement/gamestage is not completed. All visibility options (alwaysVisible, alwaysHidden, visibleIf, hiddenIf, visibleUnless and hiddenUnless) are run in order of addition to the script. The first one in the list to be completed is the one which enforces its visibility option. Makes the advancement hidden if the provided advancement/gamestage is not completed. All visibility options (alwaysVisible, alwaysHidden, visibleIf, hiddenIf, visibleUnless and hiddenUnless) are run in order of addition to the script. The first one in the list to be completed is the one which enforces its visibility option.
setRequirements: alwaysHidden:
Notes:
Makes the advancement always hidden. All visibility options (alwaysVisible, alwaysHidden, visibleIf, hiddenIf, visibleUnless and hiddenUnless) are run in order of addition to the script. The first one in the list to be completed is the one which enforces its visibility option.
alwaysVisible:
Notes:
Makes the advancement always visible. All visibility options (alwaysVisible, alwaysHidden, visibleIf, hiddenIf, visibleUnless and hiddenUnless) are run in order of addition to the script. The first one in the list to be completed is the one which enforces its visibility option.
pageAlwaysHidden:
Notes:
Only usable in root advancements. Makes the page always hidden. All visibility options (alwaysVisible, alwaysHidden, visibleIf, hiddenIf, visibleUnless and hiddenUnless) are run in order of addition to the script. The first one in the list to be completed is the one which enforces its visibility option.
visibleUnless:
Arguments: Arguments:
String, String array String
Usage: Usage:
Requirements type, criteria exception array Advancement resource location or gamestage name
Notes: Notes:
This is a helper method designed to make setting criteria requirements easier. If set to "all" this will make all criteria required for completion. If set to "any" this will make any criteria complete the advancement. If set to "any" the array of criteria exceptions is used to configure the requirements where all exceptions are required plus any other single criteria. Makes the advancement visible if the provided advancement/gamestage is not completed. All visibility options (alwaysVisible, alwaysHidden, visibleIf, hiddenIf, visibleUnless and hiddenUnless) are run in order of addition to the script. The first one in the list to be completed is the one which enforces its visibility option.
setRequirements: hiddenIf:
Arguments: Arguments:
String String
Usage: Usage:
Requirements type. This type can be either "any" or "all" Advancement resource location or gamestage name
Notes: Notes:
This is a helper method designed to make setting criteria requirements easier. If set to "all" this will make all criteria required for completion. If set to "any" this will make any criteria complete the advancement. Makes the advancement hidden if the provided advancement/gamestage is complete. All visibility options (alwaysVisible, alwaysHidden, visibleIf, hiddenIf, visibleUnless and hiddenUnless) are run in order of addition to the script. The first one in the list to be completed is the one which enforces its visibility option.
pageHiddenIf: pageHiddenUnless:
Arguments: Arguments:
String String
Usage: Usage:
Advancement resource location or gamestage name Advancement resource location or gamestage name
Notes: Notes:
Only usable in root advancements. Makes the page hidden if the provided advancement/gamestage is complete. All visibility options (alwaysVisible, alwaysHidden, visibleIf, hiddenIf, visibleUnless and hiddenUnless) are run in order of addition to the script. The first one in the list to be completed is the one which enforces its visibility option. Only usable in root advancements. Makes the page hidden if the provided advancement/gamestage is not completed. All visibility options (alwaysVisible, alwaysHidden, visibleIf, hiddenIf, visibleUnless and hiddenUnless) are run in order of addition to the script. The first one in the list to be completed is the one which enforces its visibility option.
hiddenIf: pageVisibleIf:
Arguments: Arguments:
String String
Usage: Usage:
Advancement resource location or gamestage name Advancement resource location or gamestage name
Notes: Notes:
Makes the advancement hidden if the provided advancement/gamestage is complete. All visibility options (alwaysVisible, alwaysHidden, visibleIf, hiddenIf, visibleUnless and hiddenUnless) are run in order of addition to the script. The first one in the list to be completed is the one which enforces its visibility option. Only usable in root advancements. Makes the page visible if the provided advancement/gamestage is complete. All visibility options (alwaysVisible, alwaysHidden, visibleIf, hiddenIf, visibleUnless and hiddenUnless) are run in order of addition to the script. The first one in the list to be completed is the one which enforces its visibility option.

@ -1,30 +0,0 @@
//This tells the script parser that the script requires Botania Tweaks. If the mod is not loaded, the script will be canceled.
Parser.addRequiredMod("botania_tweaks")
//Set the icon item
setIcon(<botania:specialflower, nbt:{type:"endoflame"}>)
//Set the title String
setTitle("Flower Generation")
//Set the description String
setDescription("Generate 250k mana with endoflames.")
//Add a parent advancement. The syntax is "modid:folder/path/to/the/advancement/then/filename"
addParent("triumph:example/root")
//Set the position
setPos(103,113)
//Hide the connection lines, so I can have a pretty shape
hideLines()
//Adds criteria named "generated" with the trigger type "botania_tweaks:flower_generated_mana". This function returns the criteria as an object
criteria = addCriteria("generated", "botania_tweaks:flower_generated_mana")
//Sets the flower the mana must be generated from.
criteria.setFlower("endoflame")
//Sets the required mana to be generated by the flower.
criteria.setRequiredMana(250000)

@ -1,28 +0,0 @@
//This tells the script parser that the script requires Botania Tweaks. If the mod is not loaded, the script will be canceled.
Parser.addRequiredMod("botania_tweaks")
//Set the icon item
setIcon(<botania:pool>)
//Set the title String
setTitle("Mana Generation")
//Set the description String
setDescription("Generate 500k mana.")
//Add a parent advancement. The syntax is "modid:folder/path/to/the/advancement/then/filename"
addParent("triumph:example/root")
//Set the position
setPos(126,113)
//Hide the connection lines, so I can have a pretty shape
hideLines()
//Adds criteria named "generated" with the trigger type "botania_tweaks:total_generated_mana". This function returns the criteria as an object
criteria = addCriteria("generated", "botania_tweaks:total_generated_mana")
//Sets the required mana to be generated.
criteria.setRequiredMana(500000)

@ -1,39 +0,0 @@
//Set icon item
setIcon(<minecraft:flint>)
//Set title String
setTitle("All Rewards")
//Set description String
setDescription("Acquire flint")
//Add a parent advancement. The syntax is "modid:folder/path/to/the/advancement/then/filename"
addParent("triumph:example/root")
//Set the position
setPos(80,65)
//Hide the connection lines, so I can have a pretty shape
hideLines()
//Adds criteria named "hasFlint" with the trigger type "minecraft:inventory_changed". This function returns the criteria as an object
criteria = addCriteria("hasFlint", "minecraft:inventory_changed")
//Adds the required item for the criteria. This is the item that needs to be in the player inventory.
criteria.addItem(<minecraft:flint>)
//Adds a recipe to reward upon completion. Multiple of these can be added.
addRewardRecipe("minecraft:ender_eye")
//Adds a function to fire upon completion. Any number of these can be added.
addRewardFunction("triumph:happy_birthday")
//Sets the experience to reward upon completion. This can only be set once.
setRewardExperience(42)
//Adds a Skillable mod skill level up to be rewarded upon completion. Multiple of these can be added.
addRewardSkillable("mining", 1)
//Adds an item to be rewarded upon completion. Only one of these can be set currently.
setRewardItem(<minecraft:stick, nbt:{ench:[{lvl:1s,id:51s}],display:{Name:"The Stick of Truth"}}>)

@ -1,32 +0,0 @@
//Set the icon item
setIcon(<minecraft:wooden_button>)
//Set the title String
setTitle("Pretty Colors!")
//Set the description String
setDescription("Craft a wooden button")
//Set Better Advancements icon/title/line colors. Supports single color int, 3 rgb ints, and hex.
setUncompletedIconColor(16744448)
setCompletedIconColor(128, 0, 255)
setUncompletedTitleColor(65535)
setCompletedTitleColor(#00FF80)
setUncompletedLineColor(#ff0000)
setCompletedLineColor(#ff00ff)
//Add a parent advancement. The syntax is "modid:folder/path/to/the/advancement/then/filename"
addParent("triumph:example/root")
//Set the position
setPos(34,17)
//Hide the connection lines, so I can have a pretty shape
hideLines()
//Adds criteria named "crafted" with the trigger type "triumph:player_crafted_item". This function returns the criteria as an object
criteria = addCriteria("crafted", "triumph:player_crafted_item")
//Sets the required item for the criteria. This is the item that needs to be crafted.
criteria.setItem(<minecraft:wooden_button>)

@ -1,24 +0,0 @@
//Set icon item
setIcon(<minecraft:log>)
//Set title String
setTitle("Caveman hate tree!")
//Set description String
setDescription("Break a log")
//Add a parent advancement. The syntax is "modid:folder/path/to/the/advancement/then/filename"
addParent("triumph:example/root")
//Set the position
setPos(57,89)
//Hide the connection lines, so I can have a pretty shape
hideLines()
//Adds criteria named "brokeLog" with the trigger type "triumph:player_break_block". This function returns the criteria as an object
criteria = addCriteria("brokeLog", "triumph:player_break_block")
//Sets the required block for the criteria. This is the block that needs to be broken by the player.
criteria.setBlock(<ore:logWood>)

@ -1,30 +0,0 @@
//Set icon item
setIcon(<minecraft:wool>)
//Set title String
setTitle("How is babby formed?")
//Set description String
setDescription("Breed a sheep, with a sheep, to produce... a sheep.")
//Add a parent advancement. The syntax is "modid:folder/path/to/the/advancement/then/filename"
addParent("triumph:example/root")
//Set the position
setPos(34,89)
//Hide the connection lines, so I can have a pretty shape
hideLines()
//Adds criteria named "bred_sheep" with the trigger type "minecraft:bred_animals". This function returns the criteria as an object
criteria = addCriteria("bred_sheep", "minecraft:bred_animals")
//Sets the required parent entity type for the criteria. This is the entity that the player must breed with the partner entity.
criteria.setParentType("minecraft:sheep")
//Sets the required partner entity type for the criteria. This is the entity that the player must breed with the parent entity.
criteria.setPartnerType("minecraft:sheep")
//Sets the required child entity type for the criteria. This is the entity that the player must produce by breeding the parent and partner together.
criteria.setChildType("minecraft:sheep")

@ -1,26 +0,0 @@
//Set icon item
setIcon(<minecraft:brewing_stand>)
//Set title String
setTitle("Liquid health!")
//Set description String
setDescription("Brew a healing potion")
//Add a parent advancement. The syntax is "modid:folder/path/to/the/advancement/then/filename"
addParent("triumph:example/root")
//Set the position
setPos(126,41)
//Hide the connection lines, so I can have a pretty shape
hideLines()
//Adds criteria named "brewedPotion" with the trigger type "minecraft:brewed_potion". This function returns the criteria trigger as an object
criteria = addCriteria("brewedPotion", "minecraft:brewed_potion")
//Sets the required potion type for the criteria. This is the potion type that needs to be brewed.
criteria.setPotionType("minecraft:healing")
//By not setting anything about requirements here, all criteria are automatically required

@ -1,31 +0,0 @@
//Set icon item
setIcon(<minecraft:netherrack>)
//Set title String
setTitle("Caveman smash red rock!")
//Set description String
setDescription("Break a netherrack block")
//Add a parent advancement. The syntax is "modid:folder/path/to/the/advancement/then/filename"
addParent("triumph:example/example_enter_dimension")
//Set the position
setPos(124,123)
//Hide the connection lines, so I can have a pretty shape
hideLines()
//Adds criteria named "brokeNetherrack" with the trigger type "triumph:player_break_block". This function returns the criteria as an object
criteria = addCriteria("brokeNetherrack", "triumph:player_break_block")
//Sets the required block for the criteria. This is the block that needs to be broken by the player.
criteria.setBlock(<minecraft:netherrack>)
//Sets the parent advancements to be required. This is just a helper method, which adds criterion named "completedParent"/"completedParent2"/etc with the trigger type "triumph:completed_advancement" and sets the parent advancement as the requirement. The long form version of this is written in the two commented lines below.
setRequiresParents()
//criteria = addCriteria("completedParent", "triumph:completed_advancement")
//criteria.setAdvancement("triumph:example/example_enter_dimension")
//By not setting anything about requirements here, all criteria are automatically required

@ -1,26 +0,0 @@
//Set icon item
setIcon(<minecraft:beacon>)
//Set title String
setTitle("Better Beacons")
//Set description String
setDescription("Construct a 2 to 4 layer beacon")
//Add a parent advancement. The syntax is "modid:folder/path/to/the/advancement/then/filename"
addParent("triumph:example/root")
//Set the position
setPos(11,65)
//Hide the connection lines, so I can have a pretty shape
hideLines()
//Adds criteria named "beacon" with the trigger type "minecraft:construct_beacon". This function returns the criteria trigger as an object
criteria = addCriteria("beacon", "minecraft:construct_beacon")
//Sets the required beacon levels for the criteria.
criteria.setLevelsMinMax(2, 4)
//By not setting anything about requirements here, all criteria are automatically required

@ -1,24 +0,0 @@
//Set the icon item
setIcon(<minecraft:melon>)
//Set the title String
setTitle("Mmmmmmmmmm, melon")
//Set the description String
setDescription("Eat delicious melon")
//Add a parent advancement. The syntax is "modid:folder/path/to/the/advancement/then/filename"
addParent("triumph:example/root")
//Set the position
setPos(11,41)
//Hide the connection lines, so I can have a pretty shape
hideLines()
//Adds criteria named "consumed" with the trigger type "minecraft:consume_item". This function returns the criteria as an object
criteria = addCriteria("consumed", "minecraft:consume_item")
//Sets the required item for the criteria. This is the item that needs to be consumed.
criteria.setItem(<minecraft:melon>)

@ -1,26 +0,0 @@
//Set icon item
setIcon(<minecraft:iron_ore>)
//Set title String
setTitle("Right clicking a block multiple times")
//Set description String
setDescription("Right click an iron ore block 5 times")
//Add a parent advancement. The syntax is "modid:folder/path/to/the/advancement/then/filename"
addParent("triumph:example/root")
//Set the position
setPos(126,17)
//Hide the connection lines, so I can have a pretty shape
hideLines()
//Adds criteria named "clickedBlock" with the trigger type "triumph:right_click_block". This function returns the criteria as an object
criteria = addCriteria("clickedBlock", "triumph:right_click_block")
//Sets the required block for the criteria. This is the block that needs to be right clicked by the player.
criteria.setBlock(<minecraft:iron_ore>)
criteria.setCount(5)

@ -1,24 +0,0 @@
//Set icon item
setIcon(<minecraft:netherrack>)
//Set title String
setTitle("Destroying a block")
//Set description String
setDescription("Destroy a netherrack block")
//Add a parent advancement. The syntax is "modid:folder/path/to/the/advancement/then/filename"
addParent("triumph:example/root")
//Set the position
setPos(103,17)
//Hide the connection lines, so I can have a pretty shape
hideLines()
//Adds criteria named "destroyedBlock" with the trigger type "triumph:player_destroy_block". This function returns the criteria as an object
criteria = addCriteria("destroyedBlock", "triumph:player_destroy_block")
//Sets the required block for the criteria. This is the block that needs to be destroyed by the player.
criteria.setBlock(<minecraft:netherrack>)

@ -1,24 +0,0 @@
//Set the icon item
setIcon(<minecraft:enchanted_book>)
//Set the title String
setTitle("Enchanting")
//Set the description String
setDescription("Enchant a golden sword")
//Add a parent advancement. The syntax is "modid:folder/path/to/the/advancement/then/filename"
addParent("triumph:example/root")
//Set the position
setPos(80,41)
//Hide the connection lines, so I can have a pretty shape
hideLines()
//Adds criteria named "enchanted" with the trigger type "minecraft:enchanted_item". This function returns the criteria as an object
criteria = addCriteria("enchanted", "minecraft:enchanted_item")
//Sets the required item for the criteria. This is the item that needs to be enchanted.
criteria.setItem(<minecraft:golden_sword>)

@ -1,24 +0,0 @@
//Set icon item
setIcon(<minecraft:map>)
//Set title String
setTitle("To the forest!")
//Set description String
setDescription("Enter a forest biome")
//Add a parent advancement. The syntax is "modid:folder/path/to/the/advancement/then/filename"
addParent("triumph:example/root")
//Set the position
setPos(57,113)
//Hide the connection lines, so I can have a pretty shape
hideLines()
//Adds criteria named "entered_forest" with the trigger type "minecraft:location". This function returns the criteria as an object
criteria = addCriteria("entered_forest", "minecraft:location")
//Sets the required biome for the criteria. This is the biome the player must be in.
criteria.setBiome("minecraft:forest")

@ -1,24 +0,0 @@
//Set the icon item
setIcon(<minecraft:sapling, meta:4>)
//Set the title String
setTitle("I'm a tree!")
//Set the description String
setDescription("Enter a sapling block")
//Add a parent advancement. The syntax is "modid:folder/path/to/the/advancement/then/filename"
addParent("triumph:example/root")
//Set the position
setPos(149,17)
//Hide the connection lines, so I can have a pretty shape
hideLines()
//Adds criteria named "entered" with the trigger type "minecraft:enter_block". This function returns the criteria as an object
criteria = addCriteria("entered", "minecraft:enter_block")
//Sets the required block for the criteria. This is the block that needs to be entered.
criteria.setBlock(<ore:treeSapling>)

@ -1,26 +0,0 @@
//Set icon item
setIcon(<minecraft:obsidian>)
//Set title String
setTitle("Caveman no like red rocks.")
//Set description String
setDescription("Enter the nether")
//Add a parent advancement. The syntax is "modid:folder/path/to/the/advancement/then/filename"
addParent("triumph:example/root")
//Set the position
setPos(103,65)
//Hide the connection lines, so I can have a pretty shape
hideLines()
//Adds criteria named "entered_nether" with the trigger type "minecraft:changed_dimension". This function returns the criteria as an object
criteria = addCriteria("entered_nether", "minecraft:changed_dimension")
//Sets the required destination dimension type for the criteria. Overworld is "overworld", Nether is "the_nether", End is "the_end".
criteria.setDimensionDestination("the_nether")
//By not setting anything about requirements here, all criteria are automatically required

@ -1,24 +0,0 @@
//Set icon item
setIcon(<minecraft:netherrack>)
//Set title String
setTitle("Harvesting a block")
//Set description String
setDescription("Harvest a netherrack block")
//Add a parent advancement. The syntax is "modid:folder/path/to/the/advancement/then/filename"
addParent("triumph:example/root")
//Set the position
setPos(103,41)
//Hide the connection lines, so I can have a pretty shape
hideLines()
//Adds criteria named "harvestedBlock" with the trigger type "triumph:player_harvest_block". This function returns the criteria as an object
criteria = addCriteria("harvestedBlock", "triumph:player_harvest_block")
//Sets the required block for the criteria. This is the block that needs to be harvested by the player.
criteria.setBlock(<minecraft:netherrack>)

@ -1,24 +0,0 @@
//Set icon item
setIcon(<minecraft:wooden_sword>)
//Set title String
setTitle("Evil wolf!")
//Set description String
setDescription("Damage a wolf.")
//Add a parent advancement. The syntax is "modid:folder/path/to/the/advancement/then/filename"
addParent("triumph:example/root")
//Set the position
setPos(34,65)
//Hide the connection lines, so I can have a pretty shape
hideLines()
//Adds criteria named "hurt_wolf" with the trigger type "minecraft:player_hurt_entity". This function returns the criteria as an object
criteria = addCriteria("hurt_wolf", "minecraft:player_hurt_entity")
//Sets the required entity type for the criteria. This is the entity that the player must damage.
criteria.setEntityType("minecraft:wolf")

@ -1,22 +0,0 @@
//Set icon item
setIcon(<minecraft:bedrock>)
//Set title String
setTitle("Impossible!")
//Set description String
setDescription("This cannot be completed")
//Add a parent advancement. The syntax is "modid:folder/path/to/the/advancement/then/filename"
addParent("triumph:example/root")
//Set the position
setPos(173,-11)
//Hide the connection lines, so I can have a pretty shape
hideLines()
//Adds criteria named "impossible" with the trigger type "minecraft:impossible". This function returns the criteria as an object
//This trigger type is impossible to complete. It is useful as the trigger for a root when you want to have a page of permanently hidden advancements. Vanilla uses this for the root of its recipes page.
criteria = addCriteria("impossible", "minecraft:impossible")

@ -1,24 +0,0 @@
//Set icon item
setIcon(<minecraft:stick, nbt:{ench:[{lvl:1s,id:51s}],display:{Name:"The Stick of Truth"}}>)
//Set title String
setTitle("The Stick of Truth")
//Set description String
setDescription("Acquire the The Stick of Truth")
//Add a parent advancement. The syntax is "modid:folder/path/to/the/advancement/then/filename"
addParent("triumph:example/root")
//Set the position
setPos(179,23)
//Hide the connection lines, so I can have a pretty shape
hideLines()
//Adds criteria named "hasStickOfTruth" with the trigger type "minecraft:inventory_changed". This function returns the criteria as an object
criteria = addCriteria("hasStickOfTruth", "minecraft:inventory_changed")
//Adds the required item for the criteria. This is the item that needs to be in the player inventory.
criteria.addItem(<minecraft:stick, nbt:{ench:[{lvl:1s,id:51s}],display:{Name:"The Stick of Truth"}}>)

@ -1,26 +0,0 @@
//Set the icon item
setIcon(<minecraft:chest>)
//Set the title String
setTitle("Chests!")
//Set the description String
setDescription("Craft a chest")
//Add a parent advancement. The syntax is "modid:folder/path/to/the/advancement/then/filename"
addParent("triumph:example/root")
//Set the position
setPos(57,17)
//Hide the connection lines, so I can have a pretty shape
hideLines()
//Adds criteria named "crafted" with the trigger type "triumph:player_crafted_item". This function returns the criteria as an object
criteria = addCriteria("crafted", "triumph:player_crafted_item")
//Sets the item for the criteria. This is the item that needs to be crafted.
criteria.setItem(<ore:chest>)
//By not setting anything about requirements here, all criteria are automatically required

@ -1,24 +0,0 @@
//Set icon item
setIcon(<minecraft:skull>)
//Set title String
setTitle("What is hiss?")
//Set description String
setDescription("Get killed by a creeper.")
//Add a parent advancement. The syntax is "modid:folder/path/to/the/advancement/then/filename"
addParent("triumph:example/root")
//Set the position
setPos(57,41)
//Hide the connection lines, so I can have a pretty shape
hideLines()
//Adds criteria named "killed_by_creeper" with the trigger type "minecraft:entity_killed_player". This function returns the criteria as an object
criteria = addCriteria("killed_by_creeper", "minecraft:entity_killed_player")
//Sets the required entity type for the criteria. This is the entity that the player must be killed by.
criteria.setEntityType("minecraft:creeper")

@ -1,24 +0,0 @@
//Set icon item
setIcon(<minecraft:iron_sword>)
//Set title String
setTitle("Caveman hate spider!")
//Set description String
setDescription("Crush a spider.")
//Add a parent advancement. The syntax is "modid:folder/path/to/the/advancement/then/filename"
addParent("triumph:example/root")
//Set the position
setPos(34,41)
//Hide the connection lines, so I can have a pretty shape
hideLines()
//Adds criteria named "killed_spider" with the trigger type "minecraft:player_killed_entity". This function returns the criteria as an object
criteria = addCriteria("killed_spider", "minecraft:player_killed_entity")
//Sets the required entity type for the criteria. This is the entity that the player must kill.
criteria.setEntityType("minecraft:spider")

@ -1,24 +0,0 @@
//Set icon item
setIcon(<minecraft:grass>)
//Set title String
setTitle("Left clicking a block")
//Set description String
setDescription("Left click a grass block")
//Add a parent advancement. The syntax is "modid:folder/path/to/the/advancement/then/filename"
addParent("triumph:example/root")
//Set the position
setPos(57,65)
//Hide the connection lines, so I can have a pretty shape
hideLines()
//Adds criteria named "clickedBlock" with the trigger type "triumph:left_click_block". This function returns the criteria as an object
criteria = addCriteria("clickedBlock", "triumph:left_click_block")
//Sets the required block for the criteria. This is the block that needs to be left clicked by the player.
criteria.setBlock(<minecraft:grass>)

@ -1,24 +0,0 @@
//Set icon item
setIcon(<minecraft:map>)
//Set title String
setTitle("Be in the nether")
//Set description String
setDescription("Be in dimension -1")
//Add a parent advancement. The syntax is "modid:folder/path/to/the/advancement/then/filename"
addParent("triumph:example/root")
//Set the position
setPos(80,89)
//Hide the connection lines, so I can have a pretty shape
hideLines()
//Adds criteria named "entered_nether" with the trigger type "minecraft:location". This function returns the criteria as an object
criteria = addCriteria("entered_nether", "minecraft:location")
//Sets the required dimension id for the criteria. This is the dimension the player must be in.
criteria.setDimID(-1)

@ -1,24 +0,0 @@
//Set icon item
setIcon(<minecraft:map>)
//Set title String
setTitle("Superflat")
//Set description String
setDescription("Enter a superflat world.")
//Add a parent advancement. The syntax is "modid:folder/path/to/the/advancement/then/filename"
addParent("triumph:example/root")
//Set the position
setPos(126,65)
//Hide the connection lines, so I can have a pretty shape
hideLines()
//Adds criteria named "superflat" with the trigger type "minecraft:location". This function returns the criteria as an object
criteria = addCriteria("superflat", "minecraft:location")
//Sets the required WorldType for the criteria.
criteria.setWorldType("flat")

@ -1,24 +0,0 @@
//Set icon item
setIcon(<minecraft:dirt>)
//Set title String
setTitle("That's dirty!")
//Set description String
setDescription("Place a dirt, coarse dirt or podzol block")
//Add a parent advancement. The syntax is "modid:folder/path/to/the/advancement/then/filename"
addParent("triumph:example/root")
//Set the position
setPos(34,113)
//Hide the connection lines, so I can have a pretty shape
hideLines()
//Adds criteria named "placedDirt" with the trigger type "minecraft:placed_block". This function returns the criteria as an object
criteria = addCriteria("placedDirt", "minecraft:placed_block")
//Sets the required block for the criteria. This is the block that needs to be placed by the player.
criteria.setBlock(<minecraft:dirt>)

@ -1,24 +0,0 @@
//Set icon item
setIcon(<minecraft:crafting_table>)
//Set title String
setTitle("Recipe Unlocked!")
//Set description String
setDescription("Unlock the recipe for diamonds")
//Add a parent advancement. The syntax is "modid:folder/path/to/the/advancement/then/filename"
addParent("triumph:example/root")
//Set the position
setPos(149,89)
//Hide the connection lines, so I can have a pretty shape
hideLines()
//Adds criteria named "unlocked_recipe" with the trigger type "minecraft:recipe_unlocked". This function returns the criteria as an object
criteria = addCriteria("unlocked_recipe", "minecraft:recipe_unlocked")
//Sets the required recipe for the criteria. This is the recipe that the player must unlock.
criteria.setRecipe("minecraft:diamond")

@ -1,27 +0,0 @@
//Set icon item
setIcon(<minecraft:emerald_ore>)
//Set title String
setTitle("Repeatable")
//Set description String
setDescription("Right click an emerald ore block. Advancement completion resets every 10 seconds, allowing it to be completed again.")
//Add a parent advancement. The syntax is "modid:folder/path/to/the/advancement/then/filename"
addParent("triumph:example/root")
//Set the position
setPos(126,89)
//Hide the connection lines, so I can have a pretty shape
hideLines()
//Adds criteria named "clickedBlock" with the trigger type "triumph:right_click_block". This function returns the criteria as an object
criteria = addCriteria("clickedBlock", "triumph:right_click_block")
//Sets the required block for the criteria. This is the block that needs to be right clicked by the player.
criteria.setBlock(<minecraft:emerald_ore>)
//Sets the repeat timer for the advancement. This is in IRL seconds.
setRepeatTime(10)

@ -1,24 +0,0 @@
//Set icon item
setIcon(<minecraft:diamond_ore>)
//Set title String
setTitle("Right clicking a block")
//Set description String
setDescription("Right click a diamond ore block")
//Add a parent advancement. The syntax is "modid:folder/path/to/the/advancement/then/filename"
addParent("triumph:example/root")
//Set the position
setPos(80,17)
//Hide the connection lines, so I can have a pretty shape
hideLines()
//Adds criteria named "clickedBlock" with the trigger type "triumph:right_click_block". This function returns the criteria as an object
criteria = addCriteria("clickedBlock", "triumph:right_click_block")
//Sets the required block for the criteria. This is the block that needs to be right clicked by the player.
criteria.setBlock(<minecraft:diamond_ore>)

@ -1,24 +0,0 @@
//Set icon item
setIcon(<minecraft:bed>)
//Set title String
setTitle("Nap time in the forest!")
//Set description String
setDescription("Sleep in a bed in a forest biome")
//Add a parent advancement. The syntax is "modid:folder/path/to/the/advancement/then/filename"
addParent("triumph:example/example_enter_biome")
//Set the position
setPos(80,113)
//Hide the connection lines, so I can have a pretty shape
hideLines()
//Adds criteria named "slept_in_bed" with the trigger type "minecraft:slept_in_bed". This function returns the criteria as an object
criteria = addCriteria("slept_in_bed", "minecraft:slept_in_bed")
//Sets the required biome for the criteria. This is the biome the player must be in.
criteria.setBiome("minecraft:forest")

@ -1,24 +0,0 @@
//Set icon item
setIcon(<minecraft:saddle>)
//Set title String
setTitle("Caveman like horse")
//Set description String
setDescription("Tame a horse")
//Add a parent advancement. The syntax is "modid:folder/path/to/the/advancement/then/filename"
addParent("triumph:example/root")
//Set the position
setPos(11,89)
//Hide the connection lines, so I can have a pretty shape
hideLines()
//Adds criteria named "tamed_horse" with the trigger type "minecraft:tame_animal". This function returns the criteria as an object
criteria = addCriteria("tamed_horse", "minecraft:tame_animal")
//Sets the required entity type for the criteria. This is the entity that the player must tame.
criteria.setEntityType("minecraft:horse")

@ -1,27 +0,0 @@
//Set icon item
setIcon(<minecraft:emerald>)
//Set title String
setTitle("Weird Man give Shinies")
//Set description String
setDescription("Trade for an emerald with a villager")
//Add a parent advancement. The syntax is "modid:folder/path/to/the/advancement/then/filename"
addParent("triumph:example/root")
//Set the position
setPos(11,113)
//Hide the connection lines, so I can have a pretty shape
hideLines()
//Adds criteria named "traded" with the trigger type "minecraft:villager_trade". This function returns the criteria as an object
criteria = addCriteria("traded", "minecraft:villager_trade")
//Sets the required entity type for the criteria. This is the entity that the player must trade with.
criteria.setEntityType("minecraft:villager")
//Sets the required item for the criteria. This is the item that must be traded for.
criteria.setItem(<minecraft:emerald>)

@ -1,27 +0,0 @@
//This tells the script parser that the script requires Immersive Engineering. If the mod is not loaded, the script will be canceled.
Parser.addRequiredMod("immersiveengineering")
//Set the icon item
setIcon(<immersiveengineering:metal_multiblock, meta:1>)
//Set the title String
setTitle("Multiblock")
//Set the description String
setDescription("Form a crusher multiblock")
//Add a parent advancement. The syntax is "modid:folder/path/to/the/advancement/then/filename"
addParent("triumph:example/root")
//Set the position
setPos(149,113)
//Hide the connection lines, so I can have a pretty shape
hideLines()
//Adds criteria named "formed" with the trigger type "immersiveengineering:multiblock_formed". This function returns the criteria as an object
criteria = addCriteria("formed", "immersiveengineering:multiblock_formed")
//Sets the required multiblock for the criteria. This is the multiblock that needs to be formed.
criteria.setMultiblock("IE:Crusher")

@ -1,26 +0,0 @@
//This is a root advancement. It is the base advancement for a page. As such, it has no parent and has to set a background.
//Set icon item
setIcon(<minecraft:map>)
//Set title String
setTitle("This is a title")
//Set description String
setDescription("This is a description")
//Set background String. This is a path to any texture in a resource pack, so you can set it to fun things.
setBackground("minecraft:textures/gui/advancements/backgrounds/adventure.png")
//Set the toast notification in the top right corner of the screen to not show up when this advancement is achieved.
setShowToast(false)
//Set the advancement to not send a chat message when it is achieved.
setAnnounceToChat(false)
//Set the position
setPos(11,17)
//Adds a single location criteria. Since this has nothing specific set, it will be completed the instant the player is added to the world, thus unlocking the page instantly.
addCriteria("location", "minecraft:location")

@ -73,4 +73,3 @@ criteria.setEntityType("zombie")
criteria = addCriteria("zombie_villager", "minecraft:player_killed_entity") criteria = addCriteria("zombie_villager", "minecraft:player_killed_entity")
criteria.setEntityType("zombie_villager") criteria.setEntityType("zombie_villager")
setPos(123,54)

@ -15,4 +15,3 @@ addCriteria("killed_something", "minecraft:player_killed_entity")
addCriteria("killed_by_something", "minecraft:entity_killed_player") addCriteria("killed_by_something", "minecraft:entity_killed_player")
addRequirements(["killed_something", "killed_by_something"]) addRequirements(["killed_something", "killed_by_something"])
setPos(-74,54)

@ -6,4 +6,3 @@ setTranslatedDescription("advancements.adventure.trade.description")
addParent("triumph:vanilla/adventure/root") addParent("triumph:vanilla/adventure/root")
addCriteria("traded", "minecraft:villager_trade") addCriteria("traded", "minecraft:villager_trade")
setPos(-30,76)

@ -12,4 +12,3 @@ setRewardExperience(50)
criteria = addCriteria("levitated", "minecraft:levitation") criteria = addCriteria("levitated", "minecraft:levitation")
distance = criteria.getDistanceData() distance = criteria.getDistanceData()
distance.setYMin(50) distance.setYMin(50)
setPos(128,40)

@ -20,4 +20,3 @@ criteria.addEffect("minecraft:invisibility")
criteria.addEffect("minecraft:night_vision") criteria.addEffect("minecraft:night_vision")
criteria.addEffect("minecraft:weakness") criteria.addEffect("minecraft:weakness")
criteria.addEffect("minecraft:poison") criteria.addEffect("minecraft:poison")
setPos(129,0)

@ -6,4 +6,3 @@ addParent("triumph:vanilla/story/root")
criteria = addCriteria("get_stone", "minecraft:inventory_changed") criteria = addCriteria("get_stone", "minecraft:inventory_changed")
criteria.addItem("minecraft:cobblestone") criteria.addItem("minecraft:cobblestone")
setPos(-71,-69)

@ -6,4 +6,3 @@ addParent("triumph:vanilla/story/mine_stone")
criteria = addCriteria("stone_pickaxe", "minecraft:inventory_changed") criteria = addCriteria("stone_pickaxe", "minecraft:inventory_changed")
criteria.addItem("minecraft:stone_pickaxe") criteria.addItem("minecraft:stone_pickaxe")
setPos(214,-39)
Loading…
Cancel
Save