Home Getting Started With Scripts Using this wiki Commands CTGUI Global functions Bracket Handlers

Survivalist

Chopping Block

InputStack, OutputStack, {outputMultiplier}, {hitCountMultiplier}

script.zs
gigaherz.survivalist.Choppable.addRecipe(IIngredient input, IItemStack output, outputMultiplier, hitCountMultiplier);
Example
script.zs
gigaherz.survivalist.Choppable.addRecipe(<minecraft:bone>,<minecraft:dye:15>, 1.0, 1.0);

OutputStack, {InputStack}

script.zs
gigaherz.survivalist.Choppable.removeRecipe(IIngredient output, IIngredient input);
Example
script.zs
gigaherz.survivalist.Choppable.removeRecipe(<minecraft:stick>);

Drying Rack

InputStack, OutputStack, Time in Ticks

script.zs
gigaherz.survivalist.Dryable.addRecipe(IIngredient input, IItemStack output, int time);
Example
script.zs
gigaherz.survivalist.Dryable.addRecipe(<minecraft:rotten_flesh>, <minecraft:leather>, 300);

OutputStack, {InputStack}

script.zs
gigaherz.survivalist.Dryable.removeRecipe(IIngredient output, IIngredient input);
Example
script.zs
gigaherz.survivalist.Dryable.removeRecipe(<minecraft:leather>, <minecraft:rotten_flesh>);

InputStack can be ore dictionary and anything surrounded by {} is optional