Class BlockRotationArgumentType

java.lang.Object
net.minecraft.command.argument.EnumArgumentType<BlockRotation>
net.minecraft.command.argument.BlockRotationArgumentType
All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<BlockRotation>

public class BlockRotationArgumentType extends EnumArgumentType<BlockRotation>
Mappings:
Namespace Name
official ev
intermediary net/minecraft/class_7487
named net/minecraft/command/argument/BlockRotationArgumentType
  • Constructor Details

    • BlockRotationArgumentType

      private BlockRotationArgumentType()
  • Method Details

    • blockRotation

      public static BlockRotationArgumentType blockRotation()
      Mappings:
      Namespace Name Mixin selector
      official a Lev;a()Lev;
      intermediary method_44102 Lnet/minecraft/class_7487;method_44102()Lnet/minecraft/class_7487;
      named blockRotation Lnet/minecraft/command/argument/BlockRotationArgumentType;blockRotation()Lnet/minecraft/command/argument/BlockRotationArgumentType;
    • getBlockRotation

      public static BlockRotation getBlockRotation(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String id)
      Mappings:
      Namespace Name Mixin selector
      official a Lev;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lcsz;
      intermediary method_44103 Lnet/minecraft/class_7487;method_44103(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/class_2470;
      named getBlockRotation Lnet/minecraft/command/argument/BlockRotationArgumentType;getBlockRotation(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/util/BlockRotation;