Class WrappedCommand1_18_2
java.lang.Object
mods.thecomputerizer.theimpossiblelibrary.shared.v18.m2.server.WrappedCommand1_18_2
- All Implemented Interfaces:
mods.thecomputerizer.theimpossiblelibrary.api.core.CoreStateAccessor
public class WrappedCommand1_18_2
extends Object
implements mods.thecomputerizer.theimpossiblelibrary.api.core.CoreStateAccessor
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic final class -
Field Summary
Fields inherited from interface mods.thecomputerizer.theimpossiblelibrary.api.core.CoreStateAccessor
BOOLEAN_VALUES, FABRIC, FORGE, FORGE_OR_NEOFORGE, GAME_VERSION, JAVA_17, JAVA_21, JAVA_8, JAVA_MODULES, JAVA_VERSION, JAVA_VERSION_ASM, LEGACY, MOD_LOADER, NAMED_ENV, NEOFORGE, SRG_ENV, V12, V16, V16_OR_EARLIER, V16_OR_LATER, V18, V18_OR_EARLIER, V18_OR_LATER, V19, V19_2_OR_EARLIER, V19_4_OR_LATER, V19_OR_EARLIER, V19_OR_LATER, V20, V20_4_OR_EARLIER, V20_6_OR_LATER, V20_OR_EARLIER, V20_OR_LATER, V21, V21_OR_LATER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intexecute(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> ctx, mods.thecomputerizer.theimpossiblelibrary.api.server.CommandAPI wrapped) static voidregister(Object dispatcherObj, mods.thecomputerizer.theimpossiblelibrary.api.server.CommandAPI wrapped) static void
-
Constructor Details
-
WrappedCommand1_18_2
public WrappedCommand1_18_2()
-
-
Method Details
-
execute
public static int execute(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> ctx, mods.thecomputerizer.theimpossiblelibrary.api.server.CommandAPI wrapped) throws net.minecraft.commands.CommandRuntimeException - Throws:
net.minecraft.commands.CommandRuntimeException
-
register
public static void register(Object dispatcherObj, mods.thecomputerizer.theimpossiblelibrary.api.server.CommandAPI wrapped) -
registerArgType
public static void registerArgType()
-