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

Method createBlockData

src/main/java/org/bukkit/Bukkit.java:1445–1448  ·  view source on GitHub ↗

Creates a new BlockData instance for the specified Material, with all properties initialized to unspecified defaults. @param material the material @return new data instance

(@NotNull Material material)

Source from the content-addressed store, hash-verified

1443 * @return new data instance
1444 */
1445 @NotNull
1446 public static BlockData createBlockData(@NotNull Material material) {
1447 return server.createBlockData(material);
1448 }
1449
1450 /**
1451 * Creates a new {@link BlockData} instance for the specified Material, with

Callers 1

createBlockDataMethod · 0.95

Calls 1

createBlockDataMethod · 0.65

Tested by

no test coverage detected