Skip to content

Commit b75dabc

Browse files
committed
add missing StringRepresentable
1 parent 356e1fa commit b75dabc

File tree

32 files changed

+54
-33
lines changed

32 files changed

+54
-33
lines changed

src/main/java/org/spongepowered/api/advancement/AdvancementType.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
package org.spongepowered.api.advancement;
2626

2727
import net.kyori.adventure.text.format.TextColor;
28+
import org.spongepowered.api.data.type.StringRepresentable;
2829
import org.spongepowered.api.registry.DefaultedRegistryValue;
2930
import org.spongepowered.api.util.annotation.CatalogedBy;
3031

@@ -33,7 +34,7 @@
3334
* also the appearance in the notifications.
3435
*/
3536
@CatalogedBy(AdvancementTypes.class)
36-
public interface AdvancementType extends DefaultedRegistryValue {
37+
public interface AdvancementType extends DefaultedRegistryValue, StringRepresentable {
3738

3839
/**
3940
* Gets the {@link TextColor} of the advancement type.

src/main/java/org/spongepowered/api/data/type/DyeColor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
* Represents a color of dye that can be used by various items and blocks.
3333
*/
3434
@CatalogedBy(DyeColors.class)
35-
public interface DyeColor extends DefaultedRegistryValue {
35+
public interface DyeColor extends DefaultedRegistryValue, StringRepresentable {
3636

3737
/**
3838
* Gets this dye color as a {@link Color} for easy translation.

src/main/java/org/spongepowered/api/data/type/FoxType.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@
3131
* Represents a type of fox a fox is.
3232
*/
3333
@CatalogedBy(FoxTypes.class)
34-
public interface FoxType extends DefaultedRegistryValue {
34+
public interface FoxType extends DefaultedRegistryValue, StringRepresentable {
3535

3636
}

src/main/java/org/spongepowered/api/data/type/HorseColor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@
3333
* <p>The color of a horse is a genetic trait that can be inherited to a new born horse.</p>
3434
*/
3535
@CatalogedBy(HorseColors.class)
36-
public interface HorseColor extends DefaultedRegistryValue {
36+
public interface HorseColor extends DefaultedRegistryValue, StringRepresentable {
3737

3838
}

src/main/java/org/spongepowered/api/data/type/LlamaType.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@
2828
import org.spongepowered.api.util.annotation.CatalogedBy;
2929

3030
@CatalogedBy(LlamaTypes.class)
31-
public interface LlamaType extends DefaultedRegistryValue {
31+
public interface LlamaType extends DefaultedRegistryValue, StringRepresentable {
3232

3333
}

src/main/java/org/spongepowered/api/data/type/MooshroomType.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@
3131
* Represents a type of mooshroom a mooshroom is.
3232
*/
3333
@CatalogedBy(MooshroomTypes.class)
34-
public interface MooshroomType extends DefaultedRegistryValue {
34+
public interface MooshroomType extends DefaultedRegistryValue, StringRepresentable {
3535

3636
}

src/main/java/org/spongepowered/api/data/type/PandaGene.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
* Represents the type of panda a panda is.
3232
*/
3333
@CatalogedBy(PandaGenes.class)
34-
public interface PandaGene extends DefaultedRegistryValue {
34+
public interface PandaGene extends DefaultedRegistryValue, StringRepresentable {
3535

3636
boolean isRecessive();
3737
}

src/main/java/org/spongepowered/api/data/type/ParrotType.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@
3232
* Represents the type of a {@link Parrot}.
3333
*/
3434
@CatalogedBy(ParrotTypes.class)
35-
public interface ParrotType extends DefaultedRegistryValue {
35+
public interface ParrotType extends DefaultedRegistryValue, StringRepresentable {
3636

3737
}

src/main/java/org/spongepowered/api/data/type/PushReaction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@
2727
import org.spongepowered.api.util.annotation.CatalogedBy;
2828

2929
@CatalogedBy(PushReactions.class)
30-
public interface PushReaction {
30+
public interface PushReaction extends StringRepresentable {
3131

3232
}

src/main/java/org/spongepowered/api/data/type/RabbitType.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@
3232
* Represents a type of {@link Rabbit}.
3333
*/
3434
@CatalogedBy(RabbitTypes.class)
35-
public interface RabbitType extends DefaultedRegistryValue {
35+
public interface RabbitType extends DefaultedRegistryValue, StringRepresentable {
3636

3737
}

0 commit comments

Comments
 (0)