Glassblower tools
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
tool
parameter is the name of the tool or action that is used in the recipe. - The
minTier
parameter is the minimum tool level that can be used for this action (5 by default). - The
animation
parameter is the code for the character animation activated while using the tool.
Attributes in the recipe:
{
"time": ...,
"damage": ...
}
- The
time
parameter determines how long (in seconds) the tool will be used. - The
time
parameter 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.
Attributes in the recipe:
{
"time": ...,
"damage": ...,
"consume": ...
}
- The
time
parameter determines how long (in seconds) the tool will be used. - The
damage
parameter determines how much durability will be taken away from the tool (1 by default). - The
consume
parameter determines how much humidity will be taken from the tool.
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": "..."
}
}
Attributes in the recipe:
{
"time": ...
}
- The
time
parameter 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": "..."
}
}
Attributes in the recipe:
{
"code": "...",
"amount": ...
}
- The
code
parameter defines the type of glass that is required. - The
amount
parameter determines the amount of glass that needs to be collected.
1000 units of glass are equivalent to one block by volume.