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

Method setIntegrity

src/main/java/org/bukkit/block/Structure.java:197–197  ·  view source on GitHub ↗

Set the integrity of the structure. Integrity must be between 0.0 and 1.0 Lower integrity values will result in more blocks being removed when loading a structure. Integrity and #getSeed() are used together to determine which blocks are randomly removed to mimic "decay." @param integrity th

(float integrity)

Source from the content-addressed store, hash-verified

195 * @param integrity the integrity of this structure
196 */
197 void setIntegrity(float integrity);
198
199 /**
200 * Get the integrity of this structure.

Callers

nothing calls this directly

Implementers 1

CraftStructureBlocksrc/main/java/org/bukkit/craftbukkit/v

Calls

no outgoing calls

Tested by

no test coverage detected