Class ServerCommandSourceMixin
java.lang.Object
net.playeranalytics.plan.gathering.mixin.ServerCommandSourceMixin
- All Implemented Interfaces:
CMDSender
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
abstract @Nullable net.minecraft.entity.Entity
getUUID()
int
hashCode()
boolean
hasPermission
(String permission) boolean
isPlayer()
void
abstract void
sendFeedback
(Supplier<net.minecraft.text.Text> supplier, boolean broadcastToOps) boolean
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.djrapitops.plan.commands.use.CMDSender
hasAllPermissionsFor, hasPermission, isMissingPermissionsFor, send
-
Constructor Details
-
ServerCommandSourceMixin
public ServerCommandSourceMixin()
-
-
Method Details
-
isPlayer
public boolean isPlayer() -
supportsChatEvents
public boolean supportsChatEvents()- Specified by:
supportsChatEvents
in interfaceCMDSender
-
sendFeedback
public abstract void sendFeedback(Supplier<net.minecraft.text.Text> supplier, boolean broadcastToOps) -
getEntity
@Nullable public abstract @Nullable net.minecraft.entity.Entity getEntity() -
buildMessage
- Specified by:
buildMessage
in interfaceCMDSender
-
getPlayerName
- Specified by:
getPlayerName
in interfaceCMDSender
-
hasPermission
- Specified by:
hasPermission
in interfaceCMDSender
-
getUUID
-
send
-
getFormatter
- Specified by:
getFormatter
in interfaceCMDSender
-
hashCode
public int hashCode() -
equals
-