🖼
Furniture 2D icon
This feature requires ItemsAdder 3.1.6+
Create the 2D icon for the furniture
info:
namespace: myitems
items:
2d_furniture:
display_name: 2d_furniture
permission: 2d_furniture
resource:
material: PAPER
generate: true
textures:
- item/2d_furniture
events:
interact:
right:
place_furniture:
furniture: furniture
decrement_amount: true
Now create the
2d_furniture.png
file inside the folder contents\myitems\resourcepack\myitems\textures\item\
Create the item which shows the placed furniture model. It is a different item form the one you see in the inventory (the one created in the step 1).
furniture:
display_name: furniture
permission: furniture
lore:
- 'lore-decorative-item'
resource:
material: PAPER
generate: false
model_path: decoration/furniture
behaviours:
furniture:
solid: true
cancel_drop: true
hitbox:
length: 1
width: 1
height: 1
events:
placed_armorstand:
break:
drop_item:
item: 2d_furniture
Now create the
furniture.json
file inside the folder dcontents\myitems\resourcepack\myitems\models\decoration\
Now try to right click with the
2d_furniture
item and you will see it places the furniture
model.Last modified 2mo ago