Class CommandAbstractionImpl
java.lang.Object
top.offsetmonkey538.monkeylib538.modded.impl.command.CommandAbstractionImpl
- All Implemented Interfaces:
CommandAbstractionApi,ModdedCommandAbstractionApi
-
Nested Class Summary
Nested classes/interfaces inherited from interface top.offsetmonkey538.monkeylib538.modded.api.command.ModdedCommandAbstractionApi
ModdedCommandAbstractionApi.VersionSpecific -
Field Summary
Fields inherited from interface top.offsetmonkey538.monkeylib538.common.api.command.CommandAbstractionApi
INSTANCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> com.mojang.brigadier.builder.RequiredArgumentBuilder<?,T> argumentImpl(String name, com.mojang.brigadier.arguments.ArgumentType<T> type) booleanexecutedByPlayerImpl(Object source) net.minecraft.commands.CommandSourceStacknet.minecraft.commands.CommandSourceStackbooleanisHostImpl(Object source) com.mojang.brigadier.builder.LiteralArgumentBuilder<?>literalImpl(String name) voidsendErrorImpl(com.mojang.brigadier.context.CommandContext<Object> ctx, String message) voidsendMessageImpl(com.mojang.brigadier.context.CommandContext<Object> ctx, String message) voidsendTextImpl(com.mojang.brigadier.context.CommandContext<Object> ctx, MonkeyLibText text) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface top.offsetmonkey538.monkeylib538.modded.api.command.ModdedCommandAbstractionApi
isOpImpl
-
Constructor Details
-
CommandAbstractionImpl
public CommandAbstractionImpl()
-
-
Method Details
-
literalImpl
- Specified by:
literalImplin interfaceCommandAbstractionApi
-
argumentImpl
public <T> com.mojang.brigadier.builder.RequiredArgumentBuilder<?,T> argumentImpl(String name, com.mojang.brigadier.arguments.ArgumentType<T> type) - Specified by:
argumentImplin interfaceCommandAbstractionApi
-
sendMessageImpl
public void sendMessageImpl(com.mojang.brigadier.context.CommandContext<Object> ctx, String message) - Specified by:
sendMessageImplin interfaceCommandAbstractionApi
-
sendErrorImpl
- Specified by:
sendErrorImplin interfaceCommandAbstractionApi
-
sendTextImpl
public void sendTextImpl(com.mojang.brigadier.context.CommandContext<Object> ctx, MonkeyLibText text) - Specified by:
sendTextImplin interfaceCommandAbstractionApi
-
executedByPlayerImpl
- Specified by:
executedByPlayerImplin interfaceCommandAbstractionApi
-
isHostImpl
- Specified by:
isHostImplin interfaceCommandAbstractionApi
-
getImpl
public net.minecraft.commands.CommandSourceStack getImpl(com.mojang.brigadier.context.CommandContext<Object> ctx) - Specified by:
getImplin interfaceModdedCommandAbstractionApi
-
getImpl
- Specified by:
getImplin interfaceModdedCommandAbstractionApi
-