Skip to content

Commit

Permalink
Add key for item model
Browse files Browse the repository at this point in the history
  • Loading branch information
avaruus1 committed Nov 7, 2024
1 parent 3e5a2ce commit 584932b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/java/org/spongepowered/api/data/Keys.java
Original file line number Diff line number Diff line change
Expand Up @@ -2437,6 +2437,11 @@ public final class Keys {
*/
public static final Key<Value<Ticks>> MIN_SPAWN_DELAY = Keys.key(ResourceKey.sponge("min_spawn_delay"), Ticks.class);

/**
* Location for the model of an {@link ItemStack}
*/
public static final Key<Value<ResourceKey>> MODEL = Keys.key(ResourceKey.sponge("model"), ResourceKey.class);

/**
* The moisture value of a {@link BlockTypes#FARMLAND} {@link BlockState}.
*/
Expand Down

0 comments on commit 584932b

Please sign in to comment.