@ -39,12 +39,12 @@ import org.spongepowered.asm.mixin.injection.Redirect;
public class ArgumentNodeMixin {
@Invoker ( "<init>" )
static ArgumentNode createArgumentNode ( String name , ArgumentSerializer . ArgumentTypeProperties < ? > properties , @Nullable Identifier id ) {
private static ArgumentNode createArgumentNode ( String name , ArgumentSerializer . ArgumentTypeProperties < ? > properties , @Nullable Identifier id ) {
throw new AssertionError ( ) ;
}
@Redirect ( method = "<init>(Lcom/mojang/brigadier/tree/ArgumentCommandNode;)V" , at = @At ( "HEAD" ) )
static < A > ArgumentNode onConstruct ( ArgumentCommandNode < CommandSource , A > node ) {
private static < A > ArgumentNode onConstruct ( ArgumentCommandNode < CommandSource , A > node ) {
ArgumentSerializer . ArgumentTypeProperties < ? > properties ;
try {
properties = ArgumentTypes . get ( node . getType ( ) ) . getArgumentTypeProperties ( node . getType ( ) ) ;