public abstract class MixinRConConsoleSource extends Object implements net.minecraft.command.ICommandSender, IMixinCommandSource, IMixinCommandSender, IMixinRConConsoleSource, org.spongepowered.api.util.command.source.RconSource, IMixinSubject
COMMAND_BLOCK_SENDER, COMMAND_MINECART_SENDER, EXECUTE_COMMAND_SENDER, SIGN_CLICK_SENDER
Constructor and Description |
---|
MixinRConConsoleSource() |
Modifier and Type | Method and Description |
---|---|
void |
addNewlines(net.minecraft.util.IChatComponent component,
org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)
Add newlines between output lines for a command
|
org.spongepowered.api.util.command.CommandSource |
asCommandSource() |
net.minecraft.command.ICommandSender |
asICommandSender() |
org.spongepowered.api.network.RemoteConnection |
getConnection() |
String |
getIdentifier() |
boolean |
getLoggedIn() |
String |
getSubjectCollectionIdentifier() |
org.spongepowered.api.util.Tristate |
permDefault(String permission) |
void |
setConnection(net.minecraft.network.rcon.RConThreadClient conn) |
void |
setLoggedIn(boolean loggedIn) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addChatMessage, canCommandSenderUseCommand, getCommandSenderEntity, getCommandSenderName, getDisplayName, getEntityWorld, getPosition, getPositionVector, sendCommandFeedback, setCommandStat
getMessageSink, getName, sendMessage, sendMessage, setMessageSink
getActiveContexts, getCommandSource, getContainingCollection, getParents, getParents, getPermissionValue, getSubjectData, getTransientSubjectData, hasPermission, hasPermission, isChildOf, isChildOf
setSubject
public org.spongepowered.api.network.RemoteConnection getConnection()
getConnection
in interface org.spongepowered.api.util.command.source.RemoteSource
public void setConnection(net.minecraft.network.rcon.RConThreadClient conn)
setConnection
in interface IMixinRConConsoleSource
public void setLoggedIn(boolean loggedIn)
setLoggedIn
in interface org.spongepowered.api.util.command.source.RconSource
public boolean getLoggedIn()
getLoggedIn
in interface org.spongepowered.api.util.command.source.RconSource
public void addNewlines(net.minecraft.util.IChatComponent component, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)
component
- public String getIdentifier()
getIdentifier
in interface org.spongepowered.api.service.permission.Subject
getIdentifier
in interface IMixinCommandSource
public String getSubjectCollectionIdentifier()
getSubjectCollectionIdentifier
in interface IMixinSubject
public org.spongepowered.api.util.Tristate permDefault(String permission)
permDefault
in interface IMixinSubject
public net.minecraft.command.ICommandSender asICommandSender()
asICommandSender
in interface IMixinCommandSource
public org.spongepowered.api.util.command.CommandSource asCommandSource()
asCommandSource
in interface IMixinCommandSender