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

Method spawnFallingBlock

src/main/java/org/bukkit/World.java:1208–1208  ·  view source on GitHub ↗

Spawn a FallingBlock entity at the given Location of the specified Material. The material dictates what is falling. When the FallingBlock hits the ground, it will place that block. The Material must be a block type, check with Material#isBlock() material.isBlock()

(@NotNull Location location, @NotNull MaterialData data)

Source from the content-addressed store, hash-verified

1206 * MaterialData} are null or {@link Material} of the {@link MaterialData} is not a block
1207 */
1208 @NotNull
1209 public FallingBlock spawnFallingBlock(@NotNull Location location, @NotNull MaterialData data) throws IllegalArgumentException;
1210
1211 /**

Callers

nothing calls this directly

Implementers 1

CraftWorldsrc/main/java/org/bukkit/craftbukkit/v

Calls

no outgoing calls

Tested by

no test coverage detected