Furniture - complex
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:
EntitiesCustom entities were developed with performance in mind, but they might cause high CPU usage if abused.
It's advised to limit the amount of complex furnitures using the max_per_chunk
property and the config.yml
option max_per_chunk
.
Furniture item settings
In this example I will create a simple Ceiling Fan furniture. This will be used to spawn the furniture on interaction.
Create a file my_furniture/textures/item/ceiling_fan.png
.
Furniture custom entity settings
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?