Skip to content

Commit

Permalink
fixed world provider for
Browse files Browse the repository at this point in the history
  • Loading branch information
pollend committed May 1, 2020
1 parent b4afdc6 commit d05ae87
Showing 1 changed file with 27 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
package org.terasology.flexiblepathfinding.helpers;

import com.google.common.collect.Maps;
import org.joml.Vector3fc;
import org.joml.Vector3ic;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.terasology.entitySystem.entity.EntityRef;
Expand Down Expand Up @@ -171,21 +173,41 @@ public boolean isBlockRelevant(Vector3i pos) {
return false;
}

@Override
public boolean isBlockRelevant(Vector3ic pos) {
return false;
}

@Override
public boolean isBlockRelevant(Vector3f pos) {
return false;
}

@Override
public boolean isBlockRelevant(Vector3fc pos) {
return false;
}

@Override
public Block getBlock(Vector3f pos) {
return getBlock((int) pos.x, (int) pos.y, (int) pos.z);
}

@Override
public Block getBlock(Vector3fc pos) {
return getBlock((int)pos.x(),(int)pos.y(),(int)pos.z());
}

@Override
public Block getBlock(Vector3i pos) {
return getBlock(pos.x, pos.y, pos.z);
}

@Override
public Block getBlock(Vector3ic pos) {
return getBlock(pos.x(), pos.y(), pos.z());
}

@Override
public byte getLight(Vector3f pos) {
return 0;
Expand Down Expand Up @@ -276,6 +298,11 @@ public Block setBlock(Vector3i pos, Block type) {
return null;
}

@Override
public Block setBlock(Vector3ic pos, Block type) {
return null;
}

@Override
public byte getLight(int x, int y, int z) {
return 0;
Expand Down

0 comments on commit d05ae87

Please sign in to comment.