Class MarkerCommands

java.lang.Object
de.z0rdak.yawp.commands.MarkerCommands

public final class MarkerCommands extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static com.mojang.brigadier.builder.LiteralArgumentBuilder<net.minecraft.commands.CommandSourceStack>
     
    fromMarkedBlocks(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> ctx, net.minecraft.world.entity.player.Player player, String regionName)
     
    static int
    giveMarkerStick(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> ctx)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • build

      public static com.mojang.brigadier.builder.LiteralArgumentBuilder<net.minecraft.commands.CommandSourceStack> build()
    • fromMarkedBlocks

      public static IMarkableRegion fromMarkedBlocks(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> ctx, net.minecraft.world.entity.player.Player player, String regionName) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • giveMarkerStick

      public static int giveMarkerStick(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> ctx)