mc-assets 0.2.32 → 0.2.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.MD CHANGED
@@ -20,7 +20,7 @@ npm i mc-assets
20
20
  - **Easy to Use Items Textures** - Includes hand-crafted isometric textures for some blocks.
21
21
  - **Block Entities Models** - Includes community-crafted models for block entities.
22
22
 
23
- This module was originally designed as standalone package for [https://mcraft.fun](mcraft.fun) (repo) project so it is easier to maintain, but now it became a library that I think can cover any use case where you need to work with minecraft assets. This library means block states, models data and texture contents, it doesn't cover minecraft-data use cases. With the best block model parser you can build your own renderers, editors, etc.
23
+ This module was originally designed as standalone package for [https://mcraft.fun](mcraft.fun) ([repo](https://github.com/zardoy/minecraft-web-client/)) project so it is easier to maintain, but now it became a library that I think can cover any use case where you need to work with minecraft assets. This library means block states, models data and texture contents, it doesn't cover minecraft-data use cases. With the best block model parser you can build your own renderers, editors, etc.
24
24
 
25
25
  For contributing & building instructions see [building](#building) section.
26
26
 
@@ -36,6 +36,56 @@ This packages includes versions for: 1.7.10, 1.8, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.
36
36
  <summary>Included Block Entities (Additional Block Models) (136):</summary>
37
37
 
38
38
  - ✅ item_frame
39
+ - ✅ sign
40
+ - ✅ wall_sign
41
+ - ✅ acacia_sign
42
+ - ✅ acacia_wall_sign
43
+ - ✅ birch_sign
44
+ - ✅ birch_wall_sign
45
+ - ✅ dark_oak_sign
46
+ - ✅ dark_oak_wall_sign
47
+ - ✅ jungle_sign
48
+ - ✅ jungle_wall_sign
49
+ - ✅ oak_sign
50
+ - ✅ oak_wall_sign
51
+ - ✅ spruce_sign
52
+ - ✅ spruce_wall_sign
53
+ - ✅ crimson_sign
54
+ - ✅ crimson_wall_sign
55
+ - ✅ warped_sign
56
+ - ✅ warped_wall_sign
57
+ - ✅ glow_item_frame
58
+ - ✅ mangrove_sign
59
+ - ✅ mangrove_wall_sign
60
+ - ✅ decorated_pot
61
+ - ✅ acacia_hanging_sign
62
+ - ✅ acacia_wall_hanging_sign
63
+ - ✅ bamboo_hanging_sign
64
+ - ✅ bamboo_sign
65
+ - ✅ bamboo_wall_hanging_sign
66
+ - ✅ bamboo_wall_sign
67
+ - ✅ birch_hanging_sign
68
+ - ✅ birch_wall_hanging_sign
69
+ - ✅ cherry_hanging_sign
70
+ - ✅ cherry_sign
71
+ - ✅ cherry_wall_hanging_sign
72
+ - ✅ cherry_wall_sign
73
+ - ✅ crimson_hanging_sign
74
+ - ✅ crimson_wall_hanging_sign
75
+ - ✅ dark_oak_hanging_sign
76
+ - ✅ dark_oak_wall_hanging_sign
77
+ - ✅ jungle_hanging_sign
78
+ - ✅ jungle_wall_hanging_sign
79
+ - ✅ mangrove_hanging_sign
80
+ - ✅ mangrove_wall_hanging_sign
81
+ - ✅ oak_hanging_sign
82
+ - ✅ oak_wall_hanging_sign
83
+ - ✅ pale_oak_hanging_sign
84
+ - ✅ pale_oak_wall_hanging_sign
85
+ - ✅ spruce_hanging_sign
86
+ - ✅ spruce_wall_hanging_sign
87
+ - ✅ warped_hanging_sign
88
+ - ✅ warped_wall_hanging_sign
39
89
  - ✅ black_banner
40
90
  - ✅ black_bed
41
91
  - ✅ black_shulker_box
@@ -87,6 +137,10 @@ This packages includes versions for: 1.7.10, 1.8, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.
87
137
  - ✅ orange_bed
88
138
  - ✅ orange_shulker_box
89
139
  - ✅ orange_wall_banner
140
+ - ✅ pale_oak_sign
141
+ - ✅ pale_oak_wall_sign
142
+ - ✅ piglin_head
143
+ - ✅ piglin_wall_head
90
144
  - ✅ pink_banner
91
145
  - ✅ pink_bed
92
146
  - ✅ pink_shulker_box
@@ -102,11 +156,9 @@ This packages includes versions for: 1.7.10, 1.8, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.
102
156
  - ✅ red_shulker_box
103
157
  - ✅ red_wall_banner
104
158
  - ✅ shulker_box
105
- - ✅ sign
106
159
  - ✅ skeleton_skull
107
160
  - ✅ skeleton_wall_skull
108
161
  - ✅ trapped_chest
109
- - ✅ wall_sign
110
162
  - ✅ white_banner
111
163
  - ✅ white_bed
112
164
  - ✅ white_shulker_box
@@ -119,58 +171,6 @@ This packages includes versions for: 1.7.10, 1.8, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.
119
171
  - ✅ yellow_wall_banner
120
172
  - ✅ zombie_head
121
173
  - ✅ zombie_wall_head
122
- - ✅ acacia_sign
123
- - ✅ acacia_wall_sign
124
- - ✅ birch_sign
125
- - ✅ birch_wall_sign
126
- - ✅ dark_oak_sign
127
- - ✅ dark_oak_wall_sign
128
- - ✅ jungle_sign
129
- - ✅ jungle_wall_sign
130
- - ✅ oak_sign
131
- - ✅ oak_wall_sign
132
- - ✅ spruce_sign
133
- - ✅ spruce_wall_sign
134
- - ✅ crimson_sign
135
- - ✅ crimson_wall_sign
136
- - ✅ warped_sign
137
- - ✅ warped_wall_sign
138
- - ✅ glow_item_frame
139
- - ✅ mangrove_sign
140
- - ✅ mangrove_wall_sign
141
- - ✅ acacia_hanging_sign
142
- - ✅ acacia_wall_hanging_sign
143
- - ✅ bamboo_hanging_sign
144
- - ✅ bamboo_sign
145
- - ✅ bamboo_wall_hanging_sign
146
- - ✅ bamboo_wall_sign
147
- - ✅ birch_hanging_sign
148
- - ✅ birch_wall_hanging_sign
149
- - ✅ crimson_hanging_sign
150
- - ✅ crimson_wall_hanging_sign
151
- - ✅ dark_oak_hanging_sign
152
- - ✅ dark_oak_wall_hanging_sign
153
- - ✅ jungle_hanging_sign
154
- - ✅ jungle_wall_hanging_sign
155
- - ✅ mangrove_hanging_sign
156
- - ✅ mangrove_wall_hanging_sign
157
- - ✅ oak_hanging_sign
158
- - ✅ oak_wall_hanging_sign
159
- - ✅ piglin_head
160
- - ✅ piglin_wall_head
161
- - ✅ spruce_hanging_sign
162
- - ✅ spruce_wall_hanging_sign
163
- - ✅ warped_hanging_sign
164
- - ✅ warped_wall_hanging_sign
165
- - ✅ cherry_hanging_sign
166
- - ✅ cherry_sign
167
- - ✅ cherry_wall_hanging_sign
168
- - ✅ cherry_wall_sign
169
- - ✅ decorated_pot
170
- - ✅ pale_oak_hanging_sign
171
- - ✅ pale_oak_sign
172
- - ✅ pale_oak_wall_hanging_sign
173
- - ✅ pale_oak_wall_sign
174
174
  - ❌ end_gateway
175
175
  - ❌ end_portal
176
176
  - ❌ structure_void
@@ -182,7 +182,7 @@ This packages includes versions for: 1.7.10, 1.8, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.
182
182
 
183
183
  [Atlas explorer (web demo)](https://zardoy.github.io/mc-assets/).
184
184
 
185
- [External Models Playground](https://mcraft.fun/playground.html)
185
+ [External Models Playground](https://mcraft.fun/playground/) ([Beta Version](https://s.mcraft.fun/playground/)).
186
186
 
187
187
  ## Usage
188
188
 
@@ -385,6 +385,7 @@ const armorModel = getItemDefinition(store, {
385
385
  ```
386
386
 
387
387
  The item definition system supports various property types:
388
+
388
389
  - `minecraft:using_item`: Boolean for items being actively used
389
390
  - `minecraft:use_duration`: Number of ticks an item has been used
390
391
  - `minecraft:display_context`: Where the item is being displayed ('gui', 'ground', 'fixed', etc.)
@@ -397,6 +398,7 @@ The item definition system supports various property types:
397
398
  - And more...
398
399
 
399
400
  Each model can include:
401
+
400
402
  - Base model path
401
403
  - Tint information
402
404
  - Special rendering instructions