Interface Forkable.RedirectModifier<T>

All Superinterfaces:
Forkable<T>, com.mojang.brigadier.RedirectModifier<T>
All Known Implementing Classes:
ExecuteCommand.IfUnlessRedirector, ReturnCommand.ReturnRunRedirector
Enclosing interface:
Forkable<T>

public static interface Forkable.RedirectModifier<T> extends com.mojang.brigadier.RedirectModifier<T>, Forkable<T>
Mappings:
Namespace Name
official gl$a
intermediary net/minecraft/class_8851$class_8852
named net/minecraft/command/Forkable$RedirectModifier
  • Nested Class Summary

    Nested classes/interfaces inherited from interface net.minecraft.command.Forkable

    Forkable.RedirectModifier<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    default Collection<T>
    apply(com.mojang.brigadier.context.CommandContext<T> commandContext)
     

    Methods inherited from interface net.minecraft.command.Forkable

    execute
  • Method Details

    • apply

      default Collection<T> apply(com.mojang.brigadier.context.CommandContext<T> commandContext) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Specified by:
      apply in interface com.mojang.brigadier.RedirectModifier<T>
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException