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 ez
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 Lez;a()Lez;
      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 Lez;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lcvq;
      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;