oppa
This commit is contained in:
+4
-1
@@ -15,7 +15,10 @@
|
||||
* along with Baritone. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package tenor;
|
||||
package tenor.game;
|
||||
|
||||
import tenor.ISingularChildTaskRelationship;
|
||||
import tenor.SingularTaskLeaf;
|
||||
|
||||
public class ActuallyCraftTask extends SingularTaskLeaf {
|
||||
|
||||
+3
-1
@@ -15,7 +15,9 @@
|
||||
* along with Baritone. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package tenor;
|
||||
package tenor.game;
|
||||
|
||||
import tenor.*;
|
||||
|
||||
public class AquireCraftingItems extends QuantizedTaskNode implements IClaimProvider {
|
||||
|
||||
+3
-6
@@ -15,7 +15,9 @@
|
||||
* along with Baritone. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package tenor;
|
||||
package tenor.game;
|
||||
|
||||
import tenor.*;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
@@ -56,11 +58,6 @@ public class AquireItemTask extends QuantizedTaskNode implements IClaimProvider,
|
||||
return x -> ScarceParentPriorityAllocator.priorityAllocation(x, parentTasks()).totalPriority;
|
||||
}
|
||||
|
||||
@Override
|
||||
public IQuantityRelationship cost() {
|
||||
return IQuantizedDependentCostCalculator.super.cost(); // oppa
|
||||
}
|
||||
|
||||
@Override
|
||||
public double priorityAllocatedTo(IQuantizedParentTaskRelationship child, int quantity) {
|
||||
// how much of our priority would go to this child if it could provide us with quantity of the item we need
|
||||
@@ -15,9 +15,13 @@
|
||||
* along with Baritone. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package tenor;
|
||||
package tenor.game;
|
||||
|
||||
import net.minecraft.util.Tuple;
|
||||
import tenor.DependencyType;
|
||||
import tenor.IQuantityRelationship;
|
||||
import tenor.IQuantizedParentTaskRelationship;
|
||||
import tenor.QuantizedTaskNode;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
+4
-1
@@ -15,7 +15,10 @@
|
||||
* along with Baritone. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package tenor;
|
||||
package tenor.game;
|
||||
|
||||
import tenor.ISingularChildTaskRelationship;
|
||||
import tenor.SingularTaskLeaf;
|
||||
|
||||
public class GetToCraftingTableTask extends SingularTaskLeaf {
|
||||
public static final GetToCraftingTableTask INSTANCE = new GetToCraftingTableTask(); // ? idk
|
||||
@@ -15,7 +15,10 @@
|
||||
* along with Baritone. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package tenor;
|
||||
package tenor.game;
|
||||
|
||||
import tenor.IQuantityRelationship;
|
||||
import tenor.QuantizedTaskLeaf;
|
||||
|
||||
public class MineTask extends QuantizedTaskLeaf {
|
||||
@Override
|
||||
Reference in New Issue
Block a user