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 b8c3d0d19d
commit 7bb4d1f6a3
1928 changed files with 76288 additions and 0 deletions

View File

@ -0,0 +1,29 @@
declare namespace org {
namespace spongepowered {
namespace api {
namespace block {
namespace tileentity {
// @ts-ignore
interface Note extends org.spongepowered.api.block.tileentity.TileEntity {
/**
* Attempts to play the currently stored {@link NotePitch} from this
* {@link Note} tile entity.
*/
// @ts-ignore
playNote(): void;
/**
* Retrieves the {@link NoteData} for this note block.
*/
// @ts-ignore
getNoteData(): org.spongepowered.api.data.manipulator.mutable.tileentity.NoteData;
/**
* Gets the {@link Value} for the {@link NotePitch}.
*/
// @ts-ignore
note(): org.spongepowered.api.data.value.mutable.Value;
}
}
}
}
}
}