fought
This commit is contained in:
parent
83f14b10bb
commit
e81b6d4d96
@ -55,8 +55,8 @@ public class WorldProvider implements IWorldProvider, Helper {
|
|||||||
* @param dimension The ID of the world's dimension
|
* @param dimension The ID of the world's dimension
|
||||||
*/
|
*/
|
||||||
public final void initWorld(int dimension) {
|
public final void initWorld(int dimension) {
|
||||||
// Fight me @leijurv
|
File directory;
|
||||||
File directory, readme;
|
File readme;
|
||||||
|
|
||||||
IntegratedServer integratedServer = mc.getIntegratedServer();
|
IntegratedServer integratedServer = mc.getIntegratedServer();
|
||||||
|
|
||||||
|
@ -79,10 +79,7 @@ public final class FollowProcess extends BaritoneProcessHelper implements IFollo
|
|||||||
if (entity.equals(player())) {
|
if (entity.equals(player())) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (!world().loadedEntityList.contains(entity) && !world().playerEntities.contains(entity)) {
|
return world().loadedEntityList.contains(entity) || world().playerEntities.contains(entity);
|
||||||
return false;
|
|
||||||
}
|
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void scanWorld() {
|
private void scanWorld() {
|
||||||
|
@ -37,15 +37,15 @@ import java.util.Map;
|
|||||||
*/
|
*/
|
||||||
public final class InputOverrideHandler extends Behavior implements Helper {
|
public final class InputOverrideHandler extends Behavior implements Helper {
|
||||||
|
|
||||||
public InputOverrideHandler(Baritone baritone) {
|
|
||||||
super(baritone);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Maps inputs to whether or not we are forcing their state down.
|
* Maps inputs to whether or not we are forcing their state down.
|
||||||
*/
|
*/
|
||||||
private final Map<Input, Boolean> inputForceStateMap = new HashMap<>();
|
private final Map<Input, Boolean> inputForceStateMap = new HashMap<>();
|
||||||
|
|
||||||
|
public InputOverrideHandler(Baritone baritone) {
|
||||||
|
super(baritone);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns whether or not we are forcing down the specified {@link KeyBinding}.
|
* Returns whether or not we are forcing down the specified {@link KeyBinding}.
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user