Skip to content

Commit

Permalink
Add frog type key
Browse files Browse the repository at this point in the history
  • Loading branch information
aromaa committed Oct 23, 2024
1 parent 9eec8a5 commit faefbd5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/main/java/org/spongepowered/api/data/Keys.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
import org.spongepowered.api.data.type.DripstoneSegment;
import org.spongepowered.api.data.type.DyeColor;
import org.spongepowered.api.data.type.FoxType;
import org.spongepowered.api.data.type.FrogType;
import org.spongepowered.api.data.type.HandPreference;
import org.spongepowered.api.data.type.HorseColor;
import org.spongepowered.api.data.type.HorseStyle;
Expand Down Expand Up @@ -154,6 +155,7 @@
import org.spongepowered.api.entity.living.animal.Turtle;
import org.spongepowered.api.entity.living.animal.Wolf;
import org.spongepowered.api.entity.living.animal.cow.Mooshroom;
import org.spongepowered.api.entity.living.animal.frog.Frog;
import org.spongepowered.api.entity.living.animal.horse.Horse;
import org.spongepowered.api.entity.living.animal.horse.PackHorse;
import org.spongepowered.api.entity.living.animal.horse.llama.Llama;
Expand Down Expand Up @@ -1152,6 +1154,11 @@ public final class Keys {
*/
public static final Key<Value<FoxType>> FOX_TYPE = Keys.key(ResourceKey.sponge("fox_type"), FoxType.class);

/**
* The type of a {@link Frog}.
*/
public static final Key<Value<FrogType>> FROG_TYPE = Keys.key(ResourceKey.sponge("frog_type"), FrogType.class);

/**
* The time (in ticks) an {@link Entity} is frozen.
*/
Expand Down

0 comments on commit faefbd5

Please sign in to comment.