mdkjs
Version:
mdk is a framework for developing Datapacks for Minecraft. It uses the typescript language.
25 lines (24 loc) • 1.3 kB
TypeScript
import { Selector } from "../../../mdk-core/src";
declare const _default: {
grantEverything: typeof grantEverything;
grantOnly: typeof grantOnly;
grantFrom: typeof grantFrom;
grantThrough: typeof grantThrough;
grantUntil: typeof grantUntil;
revokeEverything: typeof revokeEverything;
revokeOnly: typeof revokeOnly;
revokeFrom: typeof revokeFrom;
revokeThrough: typeof revokeThrough;
revokeUntil: typeof revokeUntil;
};
export default _default;
declare function grantEverything(selector: Selector): string;
declare function grantOnly(selector: Selector, advancement: string, criterion?: string): string;
declare function grantFrom(selector: Selector, advancement: string): string;
declare function grantThrough(selector: Selector, advancement: string): string;
declare function grantUntil(selector: Selector, advancement: string): string;
declare function revokeEverything(selector: Selector): string;
declare function revokeOnly(selector: Selector, advancement: string, criterion?: string): string;
declare function revokeFrom(selector: Selector, advancement: string): string;
declare function revokeThrough(selector: Selector, advancement: string): string;
declare function revokeUntil(selector: Selector, advancement: string): string;