mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
More docs
This commit is contained in:
parent
9bc4244957
commit
00837d97b2
1 changed files with 7 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue