Added plenty more documentation for the javadoc.

This commit is contained in:
Luis C.M committed 2022-05-17 18:02:09 -05:00
1 parent af4b467931
commit b9266c3cc5
20 files changed
+623 -94

No files matched your search

@@ -71,7 +71,7 @@ public class ScriptWorld implements IWorld {
Block block = world.getBlock(x, y, z);
if(block == null || block.isAir(world, x, y, z))
return null;
return new ScriptBlock(world, block, new BlockPos(x,y,z));
return NpcAPI.Instance().getIBlock(world, block, new BlockPos(x,y,z));
}
public boolean isBlockFreezable(int x, int y, int z){
@@ -103,7 +103,7 @@ public class ScriptWorld implements IWorld {
for (y = 63; !world.isAirBlock(x, y + 1, z); ++y) {;}
Block block = world.getBlock(x, y, z);
return new ScriptBlock(world, block, new BlockPos(x,y,z));
return NpcAPI.Instance().getIBlock(world, block, new BlockPos(x,y,z));
}
public int getHeightValue(int x, int z){