Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicCrucible MythicCrucible
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 53
    • Issues 53
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicCrucibleMythicCrucible
  • Wiki
  • Furniture

Last edited by Lxlp Apr 06, 2025
Page history
This is an old version of this page. You can view the most recent version or browse the history.

Furniture

Furniture

Crucible allows people to create "furniture", custom objects that can be placed in the world. These custom objects can be interacted with in different ways, and can also utilize skills!

Items that are configured to be furniture will have their corresponding furniture object placed in the world where the player is looking when right-clicked, and will drop the original item when broken by default (unless configured otherwise).

Furniture objects are rendered using custom modeled objects placed in either Item Frames or Armor Stands.

Furniture Options

All options are placed under a "Furniture" section on an item.

Base Options

  • Material - The material of the furniture object.
  • Model - The CustomModelData ID of the furniture object.
  • Health - How many times a piece of furniture has to be punched within a short interval to break.

Extra Blocks

Furniture can be configured with several special extras that are placed in the world along with it:

  • Barrier Blocks
  • Light Blocks (with light level)
  • Seats (the closest seat is chosen when a player right-clicks the furniture)

Extra blocks are configured from the perspective of an object placed when the player is facing yaw = 0, and are rotated accordingly depending on how the furniture is placed.

Example Configuration

TestFurniture:
  Id: IRON_NUGGET
  Display: 'Probably a Chair'
  Type: FURNITURE
  Furniture:
    Material: GOLD_NUGGET
    Model: 5
    Health: 3
    Barriers:
    - 0,0,0
    Lights:
    - 0,2,0 15
    Seats:
    - 0,0.9,0,0,0
  FurnitureSkills:
  - sound{s=entity.chicken.egg} @self ~onBlockPlace
  - sound{s=entity.chicken.egg} @self ~onInteract
  - sound{s=entity.zombie.break_wooden_door} @self ~onBlockBreak
  - sound{s=block.lever.click} @self ~onBlockRotate
  - sound{s=entity.zombie.attack_wooden_door} @self ~onDamaged
Clone repository
  • Home
  • Changelogs
  • Commands and Permissions
  • FAQ / Common Issues

Usage

  • Installation
  • Creating Custom Items
  • Using with MMOItems

New Mechanics

  • Item Mechanics
  • Item Targeters
  • Item Triggers
  • Item Conditions

Special Features

  • Ammo System / Making Guns
  • Special Options