nms custom villager and restructuring for teams
This commit is contained in:
@ -6,12 +6,8 @@ import org.bukkit.Location
|
||||
import org.bukkit.Material
|
||||
import org.bukkit.entity.Player
|
||||
|
||||
class Blacksmith: Building {
|
||||
override fun showPlaceHint(player: Player) {
|
||||
PlaceHint.add(player, "house2", ::place, PlaceHintValidators::allReplaceable)
|
||||
}
|
||||
|
||||
fun place(location: Location, sizeX: Float, sizeY: Float, sizeZ: Float) {
|
||||
class Blacksmith(location: Location, variant: Int): Building(location, variant) {
|
||||
fun place(location: Location, sizeX: Float, sizeY: Float, sizeZ: Float, offsetY: Int) {
|
||||
for (x in 0..<sizeX.toInt())
|
||||
for (y in 0..<sizeY.toInt())
|
||||
for (z in 0..<sizeZ.toInt())
|
||||
|
||||
Reference in New Issue
Block a user