9
0
mirror of https://github.com/Winds-Studio/Leaf.git synced 2025-12-25 01:49:16 +00:00

[ci skip] Change to new lithium repo

This commit is contained in:
Dreeam
2025-08-01 19:11:33 +08:00
parent 4f89f61d9f
commit a476b12f33
21 changed files with 23 additions and 22 deletions

View File

@@ -1,6 +1,7 @@
package org.dreeam.leaf.util.map;
import com.google.common.collect.AbstractIterator;
import com.google.common.collect.Collections2;
import net.minecraft.core.BlockPos;
import net.minecraft.core.BlockPos.MutableBlockPos;
import net.minecraft.util.Mth;
@@ -21,7 +22,7 @@ public final class BlockPosIterator extends AbstractIterator<BlockPos> {
private @Nullable MutableBlockPos pos = null;
public static Iterable<BlockPos> iterable(AABB bb) {
return () -> new BlockPosIterator(bb);
return new BlockPosIterator(bb);
}
public static Iterable<BlockPos> traverseArea(Vec3 vec, AABB boundingBox) {