The FogSettings class in @minecraft/server.
Class in @minecraft/server
import { FogSettings } from '@minecraft/server';Constructor
Section titled “Constructor”protected constructor();Methods
Section titled “Methods”getStack
Section titled “getStack”getStack(): string[];Returns
string[]getTags
Section titled “getTags”getTags(): string[];Returns
string[]pop(tag?: string): string | undefined;Parameters
tagoptionalstring
Returns
string | undefinedpush(fogId: string, tag?: string): number;Parameters
fogIdstringtagoptionalstring
Returns
numberremove
Section titled “remove”remove(tag?: string): boolean;Parameters
tagoptionalstring
Returns
booleansetStack
Section titled “setStack”setStack(fogIds: string[], tag?: string): void;Parameters
fogIdsstring[]tagoptionalstring