mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-18 03:15:07 +00:00
Corporea funnels now detect vertical item frames
This commit is contained in:
1 parent
6a19638e89
commit
5a7f3a8a11
1 file changed
+1
-1
@@ -60,7 +60,7 @@ public class TileCorporeaFunnel extends TileCorporeaBase implements ICorporeaReq
|
||||
1, 2, 4, 8, 16, 32, 48, 64
|
||||
};
|
||||
|
||||
for(Direction dir : MathHelper.HORIZONTALS) {
|
||||
for(Direction dir : Direction.values()) {
|
||||
List<ItemFrameEntity> frames = world.getEntitiesWithinAABB(ItemFrameEntity.class, new AxisAlignedBB(pos.offset(dir), pos.offset(dir).add(1, 1, 1)));
|
||||
for(ItemFrameEntity frame : frames) {
|
||||
Direction orientation = frame.getHorizontalFacing();
|
||||
|
||||
Reference in new issue
Block a user