2D icons for blocks/furniture
This feature requires ItemsAdder 3.1.6+

Block

Step 1

Create the 2D icon for the block
Replace my_items with your namespace!
1
info:
2
namespace: my_items
3
items:
4
rocks:
5
display_name: Rocks
6
permission: blocks.rocks
7
lore:
8
- 'lore-decorative-item'
9
resource:
10
material: PAPER
11
generate: true
12
textures:
13
- item/rocks
14
events:
15
interact:
16
right:
17
set_block:
18
block: rocks_placed
19
target: RELATIVE
20
decrement_amount: true
Copied!
Now create the rocks.png file inside the folder data\resource_pack\assets\my_items\textures\item

Step 2

Create the item which shows the placed rock model. It is a different item form the one you see in the inventory (the one created in the step 1).
1
rocks_placed:
2
display_name: ""
3
permission: admin.blocks.rocks_placed
4
resource:
5
material: PAPER
6
generate: false
7
model_path: block/rocks_placed
8
specific_properties:
9
block:
10
placed_model:
11
type: REAL_WIRE
12
cancel_drop: true
13
sound:
14
place:
15
name: block.stone.place
16
events:
17
placed_block:
18
break:
19
drop_item:
20
item: rocks
Copied!
Now create the placed_rocks.json file inside the folder data\resource_pack\assets\my_items\models\block\

Done!

Now try to right click with the rocks item and you will see it places the rocks_placed model.

Furniture

Step 1

Create the 2D icon for the furniture
Replace my_items with your namespace!
1
info:
2
namespace: my_items
3
items:
4
2d_furniture:
5
display_name: 2d_furniture
6
permission: 2d_furniture
7
resource:
8
material: PAPER
9
generate: true
10
textures:
11
- item/2d_furniture
12
events:
13
interact:
14
right:
15
place_furniture:
16
furniture: furniture
17
decrement_amount: true
Copied!
Now create the 2d_furniture.png file inside the folder data\resource_pack\assets\my_items\textures\item\

Step 2

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).
1
furniture:
2
display_name: furniture
3
permission: furniture
4
lore:
5
- 'lore-decorative-item'
6
resource:
7
material: PAPER
8
generate: false
9
model_path: decoration/furniture
10
behaviours:
11
furniture:
12
solid: true
13
cancel_drop: true
14
hitbox:
15
length: 1
16
width: 1
17
height: 1
18
events:
19
placed_armorstand:
20
break:
21
drop_item:
22
item: 2d_furniture
Copied!
Now create the furniture.json file inside the folder data\resource_pack\assets\my_items\models\decoration\

Done!

Now try to right click with the 2d_furniture item and you will see it places the furniture model.