Files
ms/packages/sponge/src/typings/org.spongepowered.api.block.BlockState.Builder.ts
2019-09-25 09:55:00 +08:00

23 lines
1016 B
TypeScript

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;
}
}
}
}
}
}