Furniture - complex

Requires ItemsAdder 4.0.9 or greater.

To create advanced furniture you have to use the custom entities feature of ItemsAdder. Please read the tutorial on how to create custom entities before:

Entities

Furniture item settings

In this example I will create a simple Ceiling Fan furniture. This will be used to spawn the furniture on interaction.

  ceiling_fan:
    name: Ceiling Fan
    resource:
      material: PAPER
      generate: true
      texture: item/ceiling_fan
    behaviours:
      complex_furniture:
        entity: ceiling_fan
        light_level: 10 # Emits light
        solid: true # Hitbox made of BARRIER blocks
        drop_when_mined: true # Will be dropped when attacked by player
        max_per_chunk: 2 # Max amount of furnitures in chunk
        placement_offset: # Used to adjust the spawn location
          ceiling: -0.5
          wall: 0
          floor: 0

Create a file my_furniture/textures/item/ceiling_fan.png.

Furniture custom entity settings

entities:
  ceiling_fan:
    model_folder: entity/ceiling_fan
    type: ARMOR_STAND
    gravity: false

Furniture model

Create a new ItemsAdder Entity Model.

In this example I called it ceiling_fan.

Create your model.

Switch to the animation panel.

Create a new idle animation.

Animate the entity as you wish.

Open the entity settings and set the correct namespace. In my example I use my_furniture.

Save the project as ceiling_fan.iaentity (for example) inside your namespace folder root. You will be able to edit it anytime you want in the future.

Export the model. This is the model file that will be loaded by ItemsAdder.

Get the item ingame using /iaget my_furniture:ceiling_fan.

Last updated

Was this helpful?