Class CompositeCodecs.CompositeCodec15<O,A,B,C,D,E,F,G,H,I,J,K,L,M,N,P>
java.lang.Object
team.lodestar.lodestone.systems.command.CompositeCodecs.CompositeCodec15<O,A,B,C,D,E,F,G,H,I,J,K,L,M,N,P>
- All Implemented Interfaces:
CommandCodec<O>
- Enclosing class:
CompositeCodecs
public static class CompositeCodecs.CompositeCodec15<O,A,B,C,D,E,F,G,H,I,J,K,L,M,N,P>
extends Object
implements CommandCodec<O>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final CommandField<?, A> protected final CommandField<?, B> protected final CommandField<?, C> protected final CommandField<?, D> protected final CommandField<?, E> protected final CommandField<?, F> protected final CommandField<?, G> protected final CommandField<?, H> protected final CommandField<?, I> protected final CommandField<?, J> protected final CommandField<?, K> protected final CommandField<?, L> protected final CommandField<?, M> protected final CommandField<?, N> protected final CommandField<?, P> -
Constructor Summary
ConstructorsConstructorDescriptionCompositeCodec15(CommandField<?, A> a, CommandField<?, B> b, CommandField<?, C> c, CommandField<?, D> d, CommandField<?, E> e, CommandField<?, F> f, CommandField<?, G> g, CommandField<?, H> h, CommandField<?, I> i, CommandField<?, J> j, CommandField<?, K> k, CommandField<?, L> l, CommandField<?, M> m, CommandField<?, N> n, CommandField<?, P> p, com.mojang.datafixers.util.Function15<A, B, C, D, E, F, G, H, I, J, K, L, M, N, P, O> constructor) -
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.brigadier.builder.ArgumentBuilder<net.minecraft.commands.CommandSourceStack, ?> appendTo(com.mojang.brigadier.builder.ArgumentBuilder<net.minecraft.commands.CommandSourceStack, ?> parent, BiFunction<net.minecraft.commands.CommandSourceStack, O, Integer> onExecute) Appends required arguments to a parent node and adds executes() at the end.decode(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> ctx) Used to extract values from ctx and produce the instance at the very end :3
-
Field Details
-
a
-
b
-
c
-
d
-
e
-
f
-
g
-
h
-
i
-
j
-
k
-
l
-
m
-
n
-
p
-
-
Constructor Details
-
CompositeCodec15
public CompositeCodec15(CommandField<?, A> a, CommandField<?, B> b, CommandField<?, C> c, CommandField<?, D> d, CommandField<?, E> e, CommandField<?, F> f, CommandField<?, G> g, CommandField<?, H> h, CommandField<?, I> i, CommandField<?, J> j, CommandField<?, K> k, CommandField<?, L> l, CommandField<?, M> m, CommandField<?, N> n, CommandField<?, P> p, com.mojang.datafixers.util.Function15<A, B, C, D, E, F, G, H, I, J, K, L, M, N, P, O> constructor)
-
-
Method Details
-
decode
public O decode(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> ctx) Description copied from interface:CommandCodecUsed to extract values from ctx and produce the instance at the very end :3- Specified by:
decodein interfaceCommandCodec<O>
-
appendTo
public com.mojang.brigadier.builder.ArgumentBuilder<net.minecraft.commands.CommandSourceStack,?> appendTo(com.mojang.brigadier.builder.ArgumentBuilder<net.minecraft.commands.CommandSourceStack, ?> parent, BiFunction<net.minecraft.commands.CommandSourceStack, O, Integer> onExecute) Description copied from interface:CommandCodecAppends required arguments to a parent node and adds executes() at the end.- Specified by:
appendToin interfaceCommandCodec<O>
-