Glassblower tools
Note: Glassmaking 2.0 introduces some changes in the json structure, update the tools if you're migrating from 1.0.
Description of behaviors for actions and tools. Available actions are listed for behaviors, which can be used in the blowing recipe.
If you want to add your own tool, you can use the described behaviors.
ToolUse
Using the tool for some time, after which some durability will be used.
This behavior is used for: flare, recess, stretch, cutoff, incise
Behavior description:
{
"name": "glassmaking:gbt-tooluse",
"properties": {
"tool": "...",
"minTier": ...,
"animation": "..."
}
}
- The
toolparameter is the name of the tool or action that is used in the recipe. - The
minTierparameter is the minimum tool level that can be used for this action (5 by default). - The
animationparameter is the code for the character animation activated while using the tool.
Recipe step properties:
{
"toolDurabilityCost": ...,
"recipeAttributes": {
"time": ...
}
}
- The
timeparameter determines how long (in seconds) the tool will be used. - The
toolDurabilityCostparameter determines how much durability will be taken away from the tool (1 by default).
DryableTool
Special behavior for wet tools. In addition to consuming durability, some tool humidity will also be consumed.
This behavior is used for: flatten, squeeze
Behavior description:
{
"name": "glassmaking:gbt-dryable",
"properties": {
"tool": "...",
"animation": "..."
}
}
Parameters description same as ToolUse.
Recipe step properties:
{
"toolDurabilityCost": ...,
"recipeAttributes": {
"time": ...,
"consume": ...
}
}
- The
timeparameter determines how long (in seconds) the tool will be used. - The
consumeparameter determines how much humidity will be taken from the tool. - The
toolDurabilityCostparameter determines how much durability will be taken away from the tool (1 by default).
BlowingTool
Behavior for the glass blower's pipe, has an animation of putting the pipe to the "mouth".
This behavior is used for: blowing
Behavior description:
{
"name": "glassmaking:gbt-blowing",
"properties": {
"tool": "blowing",
"animation": "..."
}
}
Recipe step properties:
{
"recipeAttributes": {
"time": ...
}
}
- The
timeparameter determines how long (in seconds) the tool will be used.
GlassIntakeTool
Behavior for a glass blower's pipe. Retrieves a specific type of glass from the smeltery.
This behavior is used for: glassintake
Behavior description:
{
"name": "glassmaking:gbt-glassintake",
"properties": {
"tool": "glassintake",
"animation": "..."
}
}
Recipe step properties:
{
"code": "...",
"amount": ...
}
- The
codeparameter defines the type of glass required (supports wildcards). - The
amountparameter determines the amount of glass that needs to be collected.
1000 units of glass are equivalent to one block by volume.