package net.minecraft.commands.arguments; import com.mojang.brigadier.context.CommandContext; import net.minecraft.commands.CommandSourceStack; import net.minecraft.world.level.block.Mirror; public class TemplateMirrorArgument extends StringRepresentableArgument { private TemplateMirrorArgument() { super(Mirror.CODEC, Mirror::values); } public static StringRepresentableArgument templateMirror() { return new TemplateMirrorArgument(); } public static Mirror getMirror(CommandContext p_234345_, String p_234346_) { return p_234345_.getArgument(p_234346_, Mirror.class); } }