package com.InfinityRaider.AgriCraft.compatibility.computercraft.method;

import net.minecraft.util.StatCollector;

public class MethodParameter {
    public static final MethodParameter DIRECTION = new MethodParameter("direction");

    private String name;

    private MethodParameter(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public String getDescription() {
        return StatCollector.translateToLocal("agricraft_parameter."+getName());
    }
}

@@ -374,20 +374,69 @@
  return 
+StatCollector.translateToLocal(%22agricraft_arg.%22+
 name
+)
 ;%0A    %7D%0A
@@ -530,16 +530,28 @@
 ricraft_
+description.
 paramete
@@ -554,25 +554,20 @@
 meter.%22+
-getN
+n
 ame
-()
 );%0A    %7D

Fix some localization and spelling