Class StructureInfo
java.lang.Object
me.gamercoder215.starcosmetics.api.cosmetics.structure.StructureInfo
Represents an Information Holder for a Structure
-
Method Summary
Modifier and TypeMethodDescriptionboolean@NotNull CompletionCriteriaFetches the Completion Criteria for this Structure.@NotNull StringFetches the Localized Name of the Structure.@NotNull StringFetches the minimum version of Minecraft that this Structure is compatible with.@NotNull Map<StructurePoint,Material> Fetches a Map of StructurePoints to Materials that the Structure will place.@NotNull MaterialFetches the Primary Material used in this Structure.@NotNull RarityFetches the Structure's Rarity.@NotNull StructureFetches the Structure this information uses.@NotNull UUIDFetches the unique identifier of the Structure.inthashCode()booleanDeprecated.Structures will not be read properly and will throw errors if they are read on an incompatible version, making this method obselete.toString()
-
Method Details
-
getPoints
Fetches a Map of StructurePoints to Materials that the Structure will place.- Returns:
- StructurePoint to Material Blueprint Map
-
getStructure
Fetches the Structure this information uses.- Returns:
- Structure
-
getUniqueId
Fetches the unique identifier of the Structure.- Returns:
- Structure Key
-
getRarity
Fetches the Structure's Rarity.- Returns:
- Structure Rarity
-
getLocalizedName
Fetches the Localized Name of the Structure.- Returns:
- Localized Name
-
getMinVersion
Fetches the minimum version of Minecraft that this Structure is compatible with.- Returns:
- Minimum Minecraft Version
-
isCompatible
Deprecated.Structures will not be read properly and will throw errors if they are read on an incompatible version, making this method obselete.Whether this Structure is compatible with this version of Minecraft.- Returns:
- true if this Structure is compatible with this version of Minecraft, false otherwise.
-
getCriteria
Fetches the Completion Criteria for this Structure.- Returns:
- Completion Criteria
-
getPrimaryMaterial
Fetches the Primary Material used in this Structure.- Returns:
- Primary Material
-
equals
-
hashCode
public int hashCode() -
toString
-