Skip to content

← Previous | Next →


openCraftingTable

Description

Opens a specified crafting table interface for the player.

Basic information

Name Type Possibilities
openCraftingTable interaction 1

Parameters

# Name Type Mandatory Description Multiple
1 craftingTableName string Yes The name of the crafting table to open. No

Outputs

# Description
1 The crafting table interface has been closed.

Example


  NPC 

  name Blacksmith 
  model s_m_y_blacksmith_01 
  position -1020.72 4839.78 258.30 0.0 

  interaction 
    openCraftingTable BlacksmithTable 

  behaviour 
    nothing