Skip to content

Commit 584932b

Browse files
committed
Add key for item model
1 parent 3e5a2ce commit 584932b

File tree

1 file changed

+5
-0
lines changed
  • src/main/java/org/spongepowered/api/data

1 file changed

+5
-0
lines changed

src/main/java/org/spongepowered/api/data/Keys.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2437,6 +2437,11 @@ public final class Keys {
24372437
*/
24382438
public static final Key<Value<Ticks>> MIN_SPAWN_DELAY = Keys.key(ResourceKey.sponge("min_spawn_delay"), Ticks.class);
24392439

2440+
/**
2441+
* Location for the model of an {@link ItemStack}
2442+
*/
2443+
public static final Key<Value<ResourceKey>> MODEL = Keys.key(ResourceKey.sponge("model"), ResourceKey.class);
2444+
24402445
/**
24412446
* The moisture value of a {@link BlockTypes#FARMLAND} {@link BlockState}.
24422447
*/

0 commit comments

Comments
 (0)