public class GlobalMaskCommand extends AbstractPlayerCommand
Command for globalmas operations. Registered with the command system and callable by players.
java.lang.Object > AbstractPlayerCommand > GlobalMaskCommand
Field Summary
playerComponent
final
Player
playerComponent
Field playerComponent.
currentMask
final
BlockMask
currentMask
Field currentMask.
mask
final
BlockMask
mask
Field mask.
Method Detail
GlobalMaskCommand
public
public
GlobalMaskCommand
()
Method GlobalMaskCommand.
GlobalMaskSetCommand
public
new
GlobalMaskSetCommand
()
Method GlobalMaskSetCommand.
GlobalMaskClearCommand
public
new
GlobalMaskClearCommand
()
Method GlobalMaskClearCommand.
execute
protected
void
execute
(@Nonnull final CommandContext context, @Nonnull final Store store, @Nonnull final Ref ref, @Nonnull final PlayerRef playerRef, @Nonnull final World world)
Method execute.
- Parameters:
@Nonnull final CommandContextcontext@Nonnull final Storestore@Nonnull final Refref@Nonnull final PlayerRefplayerRef@Nonnull final Worldworld