use of mcjty.rftools.blocks.blockprotector.BlockProtectors in project RFTools by McJty.
the class ForgeEventHandlers method getProtectors.
private Collection<GlobalCoordinate> getProtectors(World world, int x, int y, int z) {
Collection<GlobalCoordinate> protectors;
BlockProtectors blockProtectors = BlockProtectors.getProtectors(world);
if (blockProtectors == null) {
protectors = Collections.emptyList();
} else {
int id = world.provider.dimensionId;
protectors = blockProtectors.findProtectors(x, y, z, id, 2);
}
return protectors;
}
Aggregations