Class CommandSourceStackMixin
java.lang.Object
net.playeranalytics.plan.gathering.mixin.CommandSourceStackMixin
- All Implemented Interfaces:
CMDSender
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanabstract @Nullable net.minecraft.world.entity.EntitygetUUID()inthashCode()booleanhasPermission(String permission) booleanisPlayer()voidabstract voidsendSuccess(Supplier<net.minecraft.network.chat.Component> messageSupplier, boolean broadcast) booleanMethods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CMDSender
hasAllPermissionsFor, hasPermission, isMissingPermissionsFor, send
-
Constructor Details
-
CommandSourceStackMixin
public CommandSourceStackMixin()
-
-
Method Details
-
isPlayer
-
supportsChatEvents
public boolean supportsChatEvents()- Specified by:
supportsChatEventsin interfaceCMDSender
-
sendSuccess
public abstract void sendSuccess(Supplier<net.minecraft.network.chat.Component> messageSupplier, boolean broadcast) -
getEntity
@Nullable public abstract @Nullable net.minecraft.world.entity.Entity getEntity() -
buildMessage
- Specified by:
buildMessagein interfaceCMDSender
-
getPlayerName
- Specified by:
getPlayerNamein interfaceCMDSender
-
hasPermission
- Specified by:
hasPermissionin interfaceCMDSender
-
getUUID
-
send
-
getFormatter
- Specified by:
getFormatterin interfaceCMDSender
-
hashCode
-
equals
-