diff --git a/paper-api/src/main/java/org/bukkit/World.java b/paper-api/src/main/java/org/bukkit/World.java index a4cb298c43..5bc173fba9 100644 --- a/paper-api/src/main/java/org/bukkit/World.java +++ b/paper-api/src/main/java/org/bukkit/World.java @@ -1217,11 +1217,11 @@ public interface World extends RegionAccessor, WorldInfo, PluginMessageRecipient /** * Spawn a {@link FallingBlock} entity at the given {@link Location} of - * the specified {@link Material}. The material dictates what is falling. + * the specified {@link MaterialData}. The MaterialData dictates what is falling. * When the FallingBlock hits the ground, it will place that block. *
* The Material must be a block type, check with {@link Material#isBlock() - * material.isBlock()}. The Material may not be air. + * data.getItemType().isBlock()}. The Material may not be air. * * @param location The {@link Location} to spawn the FallingBlock * @param data The block data @@ -1234,14 +1234,11 @@ public interface World extends RegionAccessor, WorldInfo, PluginMessageRecipient /** * Spawn a {@link FallingBlock} entity at the given {@link Location} of - * the specified {@link Material}. The material dictates what is falling. + * the specified {@link BlockData}. The BlockData dictates what is falling. * When the FallingBlock hits the ground, it will place that block. - *
- * The Material must be a block type, check with {@link Material#isBlock() - * material.isBlock()}. The Material may not be air. * * @param location The {@link Location} to spawn the FallingBlock - * @param data The block data + * @param data The {@link BlockData} of the FallingBlock to spawn * @return The spawned {@link FallingBlock} instance * @throws IllegalArgumentException if {@link Location} or {@link * BlockData} are null