Class CommandSourceStackMixin

java.lang.Object
net.kyori.adventure.platform.fabric.impl.mixin.CommandSourceStackMixin
All Implemented Interfaces:
net.kyori.adventure.audience.Audience, net.kyori.adventure.audience.ForwardingAudience, net.kyori.adventure.audience.ForwardingAudience.Single, net.kyori.adventure.identity.Identified, AdventureCommandSourceStack, AdventureCommandSourceStackInternal, net.kyori.adventure.pointer.Pointered

public abstract class CommandSourceStackMixin extends Object implements AdventureCommandSourceStackInternal
The methods in this class should match the implementations of their Text-using counterparts in CommandSourceStack.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface net.kyori.adventure.audience.ForwardingAudience

    net.kyori.adventure.audience.ForwardingAudience.Single
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    adventure$audience(net.kyori.adventure.audience.Audience wrapped, FabricServerAudiencesImpl controller)
    Set the audience to be delegated to.
    net.minecraft.commands.CommandSource
    The backing source for the command.
    @NotNull net.kyori.adventure.audience.Audience
     
    @NotNull net.kyori.adventure.identity.Identity
     
    void
    sendFailure(@NotNull net.kyori.adventure.text.Component text)
    Send an error message to the command source.
    void
    sendSuccess(@NotNull net.kyori.adventure.text.Component text, boolean sendToOps)
    Send a result message to the command source.
    protected abstract void
    shadow$broadcastToAdmins(net.minecraft.network.chat.Component text)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.kyori.adventure.audience.Audience

    deleteMessage, openBook, sendActionBar, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendPlayerListFooter, sendPlayerListHeader, sendPlayerListHeaderAndFooter, showTitle, stopSound

    Methods inherited from interface net.kyori.adventure.audience.ForwardingAudience.Single

    audiences, clearTitle, deleteMessage, filterAudience, forEachAudience, get, getOrDefault, getOrDefaultFrom, hideBossBar, openBook, playSound, playSound, playSound, pointers, resetTitle, sendActionBar, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendPlayerListFooter, sendPlayerListHeader, sendPlayerListHeaderAndFooter, sendTitlePart, showBossBar, stopSound
  • Constructor Details

    • CommandSourceStackMixin

      public CommandSourceStackMixin()
  • Method Details