Package org.spongepowered.api.data.type
Interface TropicalFishShape
- All Superinterfaces:
DefaultedRegistryValue<TropicalFishShape>,StringRepresentable
@CatalogedBy(TropicalFishShapes.class)
public interface TropicalFishShape
extends DefaultedRegistryValue<TropicalFishShape>, StringRepresentable
Represents the shape of a
TropicalFish.
A TropicalFishShape represents both a fish's appearance and size.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisLarge()Whether this shape represents a largeTropicalFish.Methods inherited from interface org.spongepowered.api.registry.DefaultedRegistryValue
asDefaultedReference, findKey, keyMethods inherited from interface org.spongepowered.api.data.type.StringRepresentable
serializationString
-
Method Details
-
isLarge
boolean isLarge()Whether this shape represents a largeTropicalFish.- Returns:
- True if this shape represents a large tropical fish.
-