Project home for New Alterlite - A new locaria community pack focused on a different approach of minecrafting.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

75 lines
1.4 KiB

These are the functions which can be called on a triumph:player_break_block criteria
trigger. This criteria is triggered by a player breaking a block, either harvesting
it or destroying it.
setFeature:
Arguments:
String
Usage:
feature id
Notes:
Sets the feature id. Used for things like structures.
setItem:
Arguments:
ItemBlockData
Usage:
item data
Notes:
Sets the required item.
setBlock:
Arguments:
ItemBlockData
Usage:
block data
Notes:
Sets the required block.
setGeneratorOptions:
Arguments:
String
Usage:
generator string
Notes:
Sets the generator options string.
setBiome:
Arguments:
Non_Null_Biome_ID
Usage:
biome id
Notes:
Sets the biome id. Can be an int or String.
setWorldType:
Arguments:
String
Usage:
WorldType id
Notes:
Sets the WorldType id.
setDimID:
Arguments:
int
Usage:
dimension id
Notes:
Sets the dimension id.
getLocationData:
Notes:
Returns the LocationData object so functions can be called on it.
setCount:
Arguments:
int
Usage:
count
Notes:
Sets the number of times this criteria must be completed before it counts towards advancement progress.