dont need the fields
This commit is contained in:
parent
074ec333cf
commit
8bf977060e
@ -42,7 +42,7 @@ public enum SchematicaHelper {
|
|||||||
return Optional.ofNullable(ClientProxy.schematic)
|
return Optional.ofNullable(ClientProxy.schematic)
|
||||||
.map(world -> {
|
.map(world -> {
|
||||||
MBlockPos poz = world.position;
|
MBlockPos poz = world.position;
|
||||||
return new Tuple<>(new SchematicAdapter(world), new BlockPos(poz.field_177962_a, poz.field_177960_b, poz.field_177961_c));
|
return new Tuple<>(new SchematicAdapter(world), new BlockPos(poz.getX(), poz.getY(), poz.getZ()));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -20,10 +20,6 @@ package com.github.lunatrius.core.util.math;
|
|||||||
import net.minecraft.util.math.BlockPos;
|
import net.minecraft.util.math.BlockPos;
|
||||||
|
|
||||||
public class MBlockPos extends BlockPos {
|
public class MBlockPos extends BlockPos {
|
||||||
public int field_177962_a; // x
|
|
||||||
public int field_177960_b; // y
|
|
||||||
public int field_177961_c; // z
|
|
||||||
|
|
||||||
private MBlockPos() {
|
private MBlockPos() {
|
||||||
super(6, 6, 6);
|
super(6, 6, 6);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user