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,22 @@
declare namespace org {
namespace spongepowered {
namespace api {
namespace block {
namespace BlockState {
// @ts-ignore
interface Builder extends org.spongepowered.api.data.ImmutableDataBuilder {
/**
* Sets the {@link BlockType} for the {@link BlockState} to build.
* <p>The {@link BlockType} is used for some pre-validation on addition of
* {@link DataManipulator}s through {@link #add(DataManipulator)}. It is
* important to understand that not all manipulators are compatible with
* all {@link BlockType}s.</p>
*/
// @ts-ignore
blockType(blockType: org.spongepowered.api.block.BlockType): org.spongepowered.api.block.BlockState.Builder;
}
}
}
}
}
}