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
  • furniturestate

Last edited by Lxlp Oct 15, 2024
Page history

furniturestate

Description

Sets the casting Furniture's State as the specified one

Attributes

Attribute Aliases Description Default
state s The name of the new state the Furniture should have DEFAULT

Examples

#ITEM CONFIG
ExampleFurniture:
  Id: STONE
  Display: "Example Furniture"
  Type: FURNITURE
  Furniture:
    Material: BRICK
    DefaultState: CLOSED
    States:
      OPEN:
        Model: 6
      CLOSED:
        Model: 7
  FurnitureSkills:
  - skill{s=ExampleFurniture_SwitchState} @self ~onInteract
#SKILL CONFIG
ExampleFurniture_SwitchState:
  Conditions:
  - furnitureState{s=CLOSED} orElseCast ExampleFurniture_Close
  Skills:
  - furniturestate{state=OPEN}

ExampleFurniture_Close:
  Skills:
  - furniturestate{state=CLOSED}

Aliases

  • setfurniturestate
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