Create a new StructureType with a given name and map cursor. To indicate this structure should not be compatible with explorer maps, use null for mapIcon . @param name the name of the structure, case-sensitive @param mapIcon the org.bukkit.map.MapCursor.Type this structure type should
(@NotNull String name, @Nullable MapCursor.Type mapIcon)
| 175 | * not be compatible with explorer maps. |
| 176 | */ |
| 177 | private StructureType(@NotNull String name, @Nullable MapCursor.Type mapIcon) { |
| 178 | Validate.notEmpty(name, "Structure name cannot be empty"); |
| 179 | this.name = name; |
| 180 | this.mapCursor = mapIcon; |
| 181 | } |
| 182 | |
| 183 | /** |
| 184 | * Get the name of this structure. This is case-sensitive when used in |
nothing calls this directly
no outgoing calls
no test coverage detected