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 fa
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 Lfa;a()Lfa;
      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 Lfa;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lcvz;
      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;