MCPcopy Create free account
hub / github.com/Teneted/Tenet / StructureType

Method StructureType

src/main/java/org/bukkit/StructureType.java:177–181  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected