feat: update type defiend

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
2019-09-24 15:02:03 +08:00
parent 0c8d3a04bd
commit c153f9babb
958 changed files with 4088 additions and 3132 deletions

View File

@@ -2,7 +2,8 @@ declare namespace org {
namespace bukkit {
namespace event {
namespace block {
class BlockPlaceEvent {
// @ts-ignore
class BlockPlaceEvent implements org.bukkit.event.Cancellable {
constructor(placedBlock: org.bukkit.block.Block, replacedBlockState: org.bukkit.block.BlockState, placedAgainst: org.bukkit.block.Block, itemInHand: org.bukkit.inventory.ItemStack, thePlayer: org.bukkit.entity.Player, canBuild: boolean)
constructor(placedBlock: org.bukkit.block.Block, replacedBlockState: org.bukkit.block.BlockState, placedAgainst: org.bukkit.block.Block, itemInHand: org.bukkit.inventory.ItemStack, thePlayer: org.bukkit.entity.Player, canBuild: boolean, hand: org.bukkit.inventory.EquipmentSlot)
protected cancel: boolean;