|
60 | 60 | import org.spongepowered.api.data.type.BodyParts; |
61 | 61 | import org.spongepowered.api.data.type.CatType; |
62 | 62 | import org.spongepowered.api.data.type.ChestAttachmentType; |
| 63 | +import org.spongepowered.api.data.type.ChickenVariant; |
63 | 64 | import org.spongepowered.api.data.type.ComparatorMode; |
| 65 | +import org.spongepowered.api.data.type.CowVariant; |
64 | 66 | import org.spongepowered.api.data.type.DoorHinge; |
65 | 67 | import org.spongepowered.api.data.type.DripstoneSegment; |
66 | 68 | import org.spongepowered.api.data.type.DyeColor; |
|
166 | 168 | import org.spongepowered.api.entity.living.animal.TameableAnimal; |
167 | 169 | import org.spongepowered.api.entity.living.animal.Turtle; |
168 | 170 | import org.spongepowered.api.entity.living.animal.Wolf; |
| 171 | +import org.spongepowered.api.entity.living.animal.cow.Cow; |
169 | 172 | import org.spongepowered.api.entity.living.animal.cow.Mooshroom; |
170 | 173 | import org.spongepowered.api.entity.living.animal.frog.Frog; |
171 | 174 | import org.spongepowered.api.entity.living.animal.horse.Horse; |
@@ -751,6 +754,11 @@ public final class Keys { |
751 | 754 | */ |
752 | 755 | public static final Key<Value<Vector3d>> CHEST_ROTATION = Keys.key(ResourceKey.sponge("chest_rotation"), Vector3d.class); |
753 | 756 |
|
| 757 | + /** |
| 758 | + * The {@link ChickenVariant} of a {@link Chicken}. |
| 759 | + */ |
| 760 | + public static final Key<Value<ChickenVariant>> CHICKEN_VARIANT = Keys.key(ResourceKey.sponge("chicken_variant"), ChickenVariant.class); |
| 761 | + |
754 | 762 | /** |
755 | 763 | * The chunk generator of a {@link World} |
756 | 764 | * Readonly |
@@ -802,6 +810,11 @@ public final class Keys { |
802 | 810 | */ |
803 | 811 | public static final Key<Value<ItemType>> CONTAINER_ITEM = Keys.key(ResourceKey.sponge("container_item"), ItemType.class); |
804 | 812 |
|
| 813 | + /** |
| 814 | + * The {@link CowVariant} of a {@link Cow}. |
| 815 | + */ |
| 816 | + public static final Key<Value<CowVariant>> COW_VARIANT = Keys.key(ResourceKey.sponge("cow_variant"), CowVariant.class); |
| 817 | + |
805 | 818 | /** |
806 | 819 | * The {@link ItemStack} a food {@link ItemStack} converts to when eaten. |
807 | 820 | */ |
|
0 commit comments