feat: add sponge typings

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
2019-09-25 09:55:00 +08:00
parent 35f2dbf162
commit a96756e1ac
1928 changed files with 76288 additions and 0 deletions

View File

@ -0,0 +1,23 @@
declare namespace org {
namespace spongepowered {
namespace api {
namespace block {
namespace tileentity {
namespace carrier {
// @ts-ignore
interface Hopper extends org.spongepowered.api.block.tileentity.carrier.TileEntityCarrier {
/**
* Requests this {@link Hopper} to transfer an item to the next carrier.
* <p>Since {@link Hopper}s normally send items to other
* {@link TileEntityCarrier}s adjacent to themselves, if there is no
* available carrier to send an item to, this will perform nothing.</p>
*/
// @ts-ignore
transferItem(): void;
}
}
}
}
}
}
}