forked from gaucho-matrero/altoclef
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. @ coverwithsand (Cover lava with sands in nether). 2. @ coverwithblocks (Cover lava with blocks in nether). 3. @ meat (Get food that consists only of meat, without any vegetables). Fixes: 1. ConcurrentModificationException 2. Fixed compatibility between meteor client. 3. Some fixes. Improvements: 1. Some improvements.
- Loading branch information
1 parent
0ec5a5e
commit 12111aa
Showing
60 changed files
with
1,597 additions
and
973 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.2-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
258 changes: 143 additions & 115 deletions
258
src/main/java/adris/altoclef/chains/MobDefenseChain.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
src/main/java/adris/altoclef/commands/CoverWithBlocksCommand.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package adris.altoclef.commands; | ||
|
||
import adris.altoclef.AltoClef; | ||
import adris.altoclef.commandsystem.ArgParser; | ||
import adris.altoclef.commandsystem.Command; | ||
import adris.altoclef.commandsystem.CommandException; | ||
import adris.altoclef.tasks.construction.CoverWithBlocksTask; | ||
|
||
public class CoverWithBlocksCommand extends Command { | ||
public CoverWithBlocksCommand() { | ||
super("coverwithblocks", "Cover nether lava with blocks."); | ||
} | ||
|
||
@Override | ||
protected void call(AltoClef mod, ArgParser parser) throws CommandException { | ||
mod.runUserTask(new CoverWithBlocksTask(), this::finish); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package adris.altoclef.commands; | ||
|
||
import adris.altoclef.AltoClef; | ||
import adris.altoclef.commandsystem.Arg; | ||
import adris.altoclef.commandsystem.ArgParser; | ||
import adris.altoclef.commandsystem.Command; | ||
import adris.altoclef.commandsystem.CommandException; | ||
import adris.altoclef.tasks.resources.CollectMeatTask; | ||
|
||
public class MeatCommand extends Command { | ||
public MeatCommand() throws CommandException { | ||
super("meat", "Collects a certain amount of meat", new Arg<>(Integer.class, "count")); | ||
} | ||
|
||
@Override | ||
protected void call(AltoClef mod, ArgParser parser) throws CommandException { | ||
mod.runUserTask(new CollectMeatTask(parser.get(Integer.class)), this::finish); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.