More docs

This commit is contained in:
Joshua Castle 2023-01-05 19:48:57 -08:00
parent 9bc4244957
commit 00837d97b2
No known key found for this signature in database
GPG key ID: F674F38216C35D5D

View file

@ -123,10 +123,17 @@ public interface CustomBlockComponents {
/**
* Gets if the block should place only air
* Equivalent to setting a dummy event to run on "minecraft:on_player_placing"
*
* @return If the block should place only air.
*/
boolean placeAir();
/**
* Gets the set of tags
* Equivalent to "tag:some_tag"
*
* @return The set of tags.
*/
Set<String> tags();
interface Builder {