mirror of
https://github.com/cabaletta/baritone
synced 2024-12-24 07:52:54 +00:00
shouldnt be needed actually
This commit is contained in:
parent
fbcae10f96
commit
7d572d748b
@ -43,7 +43,6 @@ public class CalculationContext {
|
|||||||
private static final ItemStack STACK_BUCKET_WATER = new ItemStack(Items.WATER_BUCKET);
|
private static final ItemStack STACK_BUCKET_WATER = new ItemStack(Items.WATER_BUCKET);
|
||||||
|
|
||||||
public final IBaritone baritone;
|
public final IBaritone baritone;
|
||||||
public final EntityPlayerSP player;
|
|
||||||
public final World world;
|
public final World world;
|
||||||
public final WorldData worldData;
|
public final WorldData worldData;
|
||||||
public final BlockStateInterface bsi;
|
public final BlockStateInterface bsi;
|
||||||
@ -72,7 +71,7 @@ public class CalculationContext {
|
|||||||
|
|
||||||
public CalculationContext(IBaritone baritone, boolean forUseOnAnotherThread) {
|
public CalculationContext(IBaritone baritone, boolean forUseOnAnotherThread) {
|
||||||
this.baritone = baritone;
|
this.baritone = baritone;
|
||||||
this.player = baritone.getPlayerContext().player();
|
EntityPlayerSP player = baritone.getPlayerContext().player();
|
||||||
this.world = baritone.getPlayerContext().world();
|
this.world = baritone.getPlayerContext().world();
|
||||||
this.worldData = (WorldData) baritone.getWorldProvider().getCurrentWorld();
|
this.worldData = (WorldData) baritone.getWorldProvider().getCurrentWorld();
|
||||||
this.bsi = new BlockStateInterface(world, worldData, forUseOnAnotherThread); // TODO TODO TODO
|
this.bsi = new BlockStateInterface(world, worldData, forUseOnAnotherThread); // TODO TODO TODO
|
||||||
|
Loading…
Reference in New Issue
Block a user