Model Interactions

What Are Interaction Types?

Interaction Types allow you to add special behaviors to your custom models. This means players can do things like sit on a chair model, use a custom furnace, or open storage directly from your model.

Available Interaction Types:

  • SIT: Allows players to sit on the model.

  • FURNACE: Turns the model into a working furnace.

  • STORAGE: Gives the model storage capabilities like a chest.

  • CRAFT: Makes the model act as a crafting table.

  • ENDER_CHEST: Provides access to the player's Ender Chest.

  • COMMAND: Executes a command when the model is interacted with.

  • CONSOLE_COMMAND: Executes a command from console (can use %player%)

  • LIGHT: Create a toggleable light. Right click the model to turn it on and off.

  • REPLACE_ITEM: Create a replaceable displayed item in model (material must be AIR), will drop item when broken or replaced by another item

Put a cooked steak
Right click with empty hand to remove
Or put anything else

There is a ~200 interactive models limit per chunk.

How to Use Interaction Types

General Guidelines

  • Assigning Interactions: Interactions are assigned to specific parts of your model in Blockbench.

  • SIT Interaction: The part you assign the SIT interaction to matters because players will sit on that exact part.

  • Other Interactions: For interactions like FURNACE, STORAGE, etc., it doesn't matter which part you assign them to; interacting with any part will trigger the function.

Examples

Command Interaction

parts: 
  base: # Part name from model
    material: DEEPSLATE_BRICKS # Minecraft Material
    interaction: CONSOLE_COMMAND # Interaction type
    value: "msg %player% Hi" # Command, ran by console, allows %player% variable

Light

parts: 
  light: # Usually light is an invisible part without textures, just sets actual light location
    interaction: LIGHT

Last updated