All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.earthcomputer.multiconnect.protocols.v1_12.command.BlockDataCommand Maven / Gradle / Ivy

The newest version!
package net.earthcomputer.multiconnect.protocols.v1_12.command;

import com.mojang.brigadier.CommandDispatcher;
import net.minecraft.commands.SharedSuggestionProvider;

import static net.earthcomputer.multiconnect.protocols.v1_12.command.Commands_1_12_2.*;
import static net.minecraft.commands.arguments.coordinates.BlockPosArgument.*;
import static net.minecraft.commands.arguments.CompoundTagArgument.*;

public class BlockDataCommand {

    public static void register(CommandDispatcher dispatcher) {
        dispatcher.register(literal("blockdata")
            .then(argument("pos", blockPos())
                .then(argument("nbt", compoundTag())
                    .executes(ctx -> 0))));
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy