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
named net/minecraft/command/Forkable$RedirectModifier
intermediary net/minecraft/class_8851$class_8852
official hn$a
  • 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> context)
     

    Methods inherited from interface net.minecraft.command.Forkable

    execute
  • Method Details

    • apply

      default Collection<T> apply(com.mojang.brigadier.context.CommandContext<T> context) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Specified by:
      apply in interface com.mojang.brigadier.RedirectModifier<T>
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      named apply Lnet/minecraft/command/Forkable$RedirectModifier;apply(Lcom/mojang/brigadier/context/CommandContext;)Ljava/util/Collection;
      intermediary apply Lnet/minecraft/class_8851$class_8852;apply(Lcom/mojang/brigadier/context/CommandContext;)Ljava/util/Collection;
      official apply Lhn$a;apply(Lcom/mojang/brigadier/context/CommandContext;)Ljava/util/Collection;