place building blocks preview test

This commit is contained in:
ruby
2025-01-02 01:27:05 +13:00
parent c061cff342
commit 3e8731eb1c
6 changed files with 169 additions and 127 deletions

View File

@ -8,7 +8,7 @@ import org.bukkit.entity.Player
class Blacksmith: Building {
override fun showPlaceHint(player: Player) {
PlaceHint.add(player, 4.0f, 3.0f, 4.0f, ::place, PlaceHintValidators::allReplaceable)
PlaceHint.add(player, "house2", ::place, PlaceHintValidators::allReplaceable)
}
fun place(location: Location, sizeX: Float, sizeY: Float, sizeZ: Float) {