/* * Decompiled with CFR 0.152. * * Could not load the following classes: * com.mojang.brigadier.context.CommandContext */ package net.minecraft.commands.arguments; import com.mojang.brigadier.context.CommandContext; import net.minecraft.commands.CommandSourceStack; import net.minecraft.commands.arguments.StringRepresentableArgument; 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 context, String name) { return (Mirror)context.getArgument(name, Mirror.class); } }