Skip to content

Commit 4220ac0

Browse files
committed
chore: update from api-13
Signed-off-by: Gabriel Harris-Rouquette <[email protected]>
2 parents 15e9b4d + d4641e1 commit 4220ac0

File tree

1 file changed

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

1 file changed

+7
-0
lines changed

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2437,6 +2437,13 @@ 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 of the resource pack model for an {@link ItemStack}.
2442+
*
2443+
* @see <a href="https://minecraft.wiki/w/Model">Model</a>
2444+
*/
2445+
public static final Key<Value<ResourceKey>> MODEL = Keys.key(ResourceKey.sponge("model"), ResourceKey.class);
2446+
24402447
/**
24412448
* The moisture value of a {@link BlockTypes#FARMLAND} {@link BlockState}.
24422449
*/

0 commit comments

Comments
 (0)