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
    • Skills
    • Mechanics
  • furnitureinventory

Last edited by Lxlp Jul 29, 2023
Page history

furnitureinventory

Description

Opens an inventory with a specified amount of slots and name to the target player. The inventory is persistent and is dropped once the Furniture breaks.

Opening inventories with different amounts of slots is not possible: the first time an inventory is opened, the specified amount of slots is registered as the "correct" one, and trying to use the mechanic with a different amount will not work.

It is however possible to change the name of the inventory every time it is opened, and as long as the number of slots is constant the mechanic will open the same inventory, but with the specified name as the inventory's name.

The number of slots of the inventory can be 9,18,27,36,45,54.

Attributes

Attribute Aliases Description Default
title t The name displayed in the inventory The Display name of the Item
size s The number of slots of the inventory 9

Examples

  FurnitureSkills:
  - FurnitureInventory{title="A Chest! more or less...";size=27} @trigger ~onInteract

In this example you can see how it is possible to change the inventory name, since an inventory is bound to the casting furniture, and not its name

  FurnitureSkills:
  - randomskill{s=
    [
      - FurnitureInventory{title="Hello";size=54}
    ],
    [
      - FurnitureInventory{title="World";size=54}
    ]
    } @trigger ~onInteract

Aliases

  • openfurnitureinventory
Clone repository
Home
Changelogs
Commands / Permissions
API
FAQ / Common Issues
Guides

Usage
  • Installation
  • Items
    • Item Options
    • Item Skills
    • Item Durability
  • Augments
  • Item Sets
  • Crafting Recipes
    • Workbenches
  • Item Updater
  • Ammo System / Guns
  • Dynamic Lore Generation
  • World Generation
  • Loot Generation

ResourcePack Generator

Item Types
  • Blocks
  • Furniture
    • Paint Brush
  • Bags
  • Hats
  • Augments

Mechanics
  • Mechanics
  • Targeters
  • Triggers
  • Conditions

Placeholders
  • Placeholders