UNPKG

@minecraft/creator-tools

Version:

Minecraft Creator Tools command line and libraries.

27 lines (26 loc) 707 B
"use strict"; // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. Object.defineProperty(exports, "__esModule", { value: true }); /** * Represents an effect - like poison - that has been added to * an Entity. */ class Effect { /** * Gets an amplifier that may have been applied to this effect. * Sample values range typically from 0 to 4. Example: The * effect 'Jump Boost II' will have an amplifier value of 1. */ "amplifier"; /** * Gets the player-friendly name of this effect. */ "displayName"; /** * Gets the entire specified duration, in seconds, of this * effect. */ "duration"; } exports.default = Effect;